]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | # Get printer attributes using get-printer-attributes |
2 | { | |
3 | # The name of the test... | |
098d20d4 MS |
4 | NAME "Get printer attributes using get-printer-attributes" |
5 | ||
6 | # The resource to use for the POST | |
7 | # RESOURCE /admin | |
ef416fc2 | 8 | |
9 | # The operation to use | |
098d20d4 MS |
10 | OPERATION get-printer-attributes |
11 | ||
12 | # The version to use | |
13 | VERSION 2.0 | |
ef416fc2 | 14 | |
15 | # Attributes, starting in the operation group... | |
098d20d4 | 16 | GROUP operation |
ef416fc2 | 17 | ATTR charset attributes-charset utf-8 |
18 | ATTR language attributes-natural-language en | |
19 | ATTR uri printer-uri $uri | |
098d20d4 | 20 | ATTR keyword requested-attributes all,media-col-database |
ef416fc2 | 21 | |
22 | # What statuses are OK? | |
23 | STATUS successful-ok | |
24 | ||
25 | # What attributes do we expect? | |
26 | EXPECT charset-configured | |
27 | EXPECT charset-supported | |
28 | EXPECT compression-supported | |
29 | EXPECT document-format-default | |
30 | EXPECT document-format-supported | |
31 | EXPECT generated-natural-language-supported | |
32 | EXPECT ipp-versions-supported | |
098d20d4 | 33 | EXPECT media-col-default |
ef416fc2 | 34 | EXPECT natural-language-configured |
35 | EXPECT operations-supported | |
098d20d4 | 36 | EXPECT printer-info |
ef416fc2 | 37 | EXPECT printer-is-accepting-jobs |
098d20d4 MS |
38 | EXPECT printer-location |
39 | EXPECT printer-make-and-model | |
40 | EXPECT printer-more-info | |
ef416fc2 | 41 | EXPECT printer-name |
42 | EXPECT printer-state | |
43 | EXPECT printer-state-reasons | |
44 | EXPECT printer-up-time | |
45 | EXPECT printer-uri-supported | |
46 | EXPECT uri-authentication-supported | |
47 | EXPECT uri-security-supported | |
48 | } |