Skip to content

Latest commit

 

History

History
17 lines (16 loc) · 493 Bytes

ipptool.md

File metadata and controls

17 lines (16 loc) · 493 Bytes

IppTool

has very limited tag support (only charset, language and uri). If you like this API let me know.

with(IppTool()) {
    uri = URI.create("ipp://colorjet.local/ipp/printer")
    filename = "A4-blank.pdf"
    interpret(
        "OPERATION Print-Job",
        "GROUP operation-attributes-tag",
        "ATTR charset attributes-charset utf-8",
        "ATTR language attributes-natural-language en",
        "ATTR uri printer-uri \$uri",
        "FILE \$filename"
    )
}