Haibo Huang | 4c28362 | 2019-12-13 16:47:52 -0800 | [diff] [blame] | 1 | # Print a test page using print-job and compression=gzip |
| 2 | { |
| 3 | # The name of the test... |
| 4 | NAME "Print file using Print-Job and compression=deflate" |
| 5 | |
| 6 | # The operation to use |
| 7 | OPERATION Print-Job |
| 8 | |
| 9 | # Attributes, starting in the operation group... |
| 10 | GROUP operation-attributes-tag |
| 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 |
| 15 | ATTR mimeMediaType document-format $filetype |
| 16 | ATTR keyword compression deflate |
| 17 | |
| 18 | GROUP job-attributes-tag |
| 19 | ATTR integer copies 1 |
| 20 | |
| 21 | COMPRESSION deflate |
| 22 | FILE $filename |
| 23 | |
| 24 | # What statuses are OK? |
| 25 | STATUS successful-ok |
| 26 | STATUS successful-ok-ignored-or-substituted-attributes |
| 27 | |
| 28 | # What attributes do we expect? |
| 29 | EXPECT job-id |
| 30 | EXPECT job-uri |
| 31 | } |