Created
August 3, 2017 20:13
-
-
Save sahilarora535/4790c41601a184391c9352aec49a793f to your computer and use it in GitHub Desktop.
ipptoolfile for printing a PCLm file via an IPP printer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Print a test page using print-job | |
{ | |
# The name of the test... | |
NAME "Print file using Print-Job" | |
# The operation to use | |
OPERATION Print-Job | |
# Attributes, starting in the operation group... | |
GROUP operation-attributes-tag | |
ATTR charset attributes-charset utf-8 | |
ATTR language attributes-natural-language en | |
ATTR uri printer-uri $uri | |
ATTR name requesting-user-name $user | |
ATTR mimeMediaType document-format application/PCLm | |
GROUP job-attributes-tag | |
ATTR integer copies 1 | |
FILE OUTpclm.pdf | |
# What statuses are OK? | |
STATUS successful-ok | |
STATUS successful-ok-ignored-or-substituted-attributes | |
# What attributes do we expect? | |
EXPECT job-id | |
EXPECT job-uri | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment