]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | # Print a test page using print-job |
2 | { | |
3 | # The name of the test... | |
030ae6a1 | 4 | NAME "Print file using Print-Job" |
ef416fc2 | 5 | |
6 | # The operation to use | |
030ae6a1 | 7 | OPERATION Print-Job |
ef416fc2 | 8 | |
9 | # Attributes, starting in the operation group... | |
030ae6a1 | 10 | GROUP operation-attributes-tag |
ef416fc2 | 11 | ATTR charset attributes-charset utf-8 |
12 | ATTR language attributes-natural-language en | |
13 | ATTR uri printer-uri $uri | |
14 | ATTR name requesting-user-name $user | |
12f89d24 | 15 | ATTR mimeMediaType document-format $filetype |
ef416fc2 | 16 | |
030ae6a1 | 17 | GROUP job-attributes-tag |
ef416fc2 | 18 | ATTR integer copies 1 |
f1ac9f58 | 19 | ATTR keyword media na_letter_8.5x11in |
ef416fc2 | 20 | |
030ae6a1 | 21 | FILE $filename |
ef416fc2 | 22 | |
23 | # What statuses are OK? | |
52f6f666 MS |
24 | STATUS successful-ok |
25 | STATUS successful-ok-ignored-or-substituted-attributes | |
ef416fc2 | 26 | |
27 | # What attributes do we expect? | |
28 | EXPECT job-id | |
29 | EXPECT job-uri | |
30 | } |