]>
Commit | Line | Data |
---|---|---|
a537431a MS |
1 | # Print a test page using print-job |
2 | { | |
3 | # The name of the test... | |
4 | NAME "Print file using Print-Job" | |
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 | ||
17 | GROUP job-attributes-tag | |
18 | ATTR integer copies 1 | |
19 | ATTR collection media-col { | |
20 | MEMBER keyword media-source manual | |
21 | MEMBER collection media-size { | |
22 | MEMBER integer x-dimension 21590 | |
23 | MEMBER integer y-dimension 27940 | |
24 | } | |
25 | } | |
26 | ATTR keyword print-scaling none | |
27 | ||
28 | FILE $filename | |
29 | ||
30 | # What statuses are OK? | |
31 | STATUS successful-ok | |
32 | STATUS successful-ok-ignored-or-substituted-attributes | |
33 | ||
34 | # What attributes do we expect? | |
35 | EXPECT job-id | |
36 | EXPECT job-uri | |
37 | } |