]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | # Print a test page using print-job |
2 | { | |
3 | # The name of the test... | |
4 | NAME "Print test page using print-job" | |
5 | ||
6 | # The resource to use for the POST | |
7 | # RESOURCE /admin | |
8 | ||
9 | # The operation to use | |
10 | OPERATION print-job | |
11 | ||
12 | # Attributes, starting in the operation group... | |
13 | GROUP operation | |
14 | ATTR charset attributes-charset utf-8 | |
15 | ATTR language attributes-natural-language en | |
16 | ATTR uri printer-uri $uri | |
17 | ATTR name requesting-user-name $user | |
18 | ATTR mimetype document-format application/postscript | |
19 | ||
20 | GROUP job | |
21 | ATTR integer copies 1 | |
22 | ||
23 | FILE ../data/testprint.ps | |
24 | ||
25 | # What statuses are OK? | |
26 | STATUS ok | |
27 | STATUS ok-subst | |
28 | ||
29 | # What attributes do we expect? | |
30 | EXPECT job-id | |
31 | EXPECT job-uri | |
32 | } |