]>
Commit | Line | Data |
---|---|---|
1 | # Get Printer Description attributes using get-printer-attributes | |
2 | { | |
3 | # The name of the test... | |
4 | NAME "Get Printer Description attributes using Get-Printer-Attributes" | |
5 | ||
6 | # The operation to use | |
7 | OPERATION Get-Printer-Attributes | |
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 keyword requested-attributes printer-description | |
15 | ||
16 | # What statuses are OK? | |
17 | STATUS successful-ok | |
18 | STATUS successful-ok-ignored-or-substituted-attributes | |
19 | ||
20 | # What attributes do we expect? | |
21 | EXPECT printer-name | |
22 | EXPECT printer-uri-supported | |
23 | EXPECT uri-security-supported | |
24 | EXPECT uri-authentication-supported | |
25 | EXPECT printer-state | |
26 | EXPECT printer-state-reasons | |
27 | EXPECT ipp-versions-supported | |
28 | EXPECT operations-supported | |
29 | EXPECT charset-configured | |
30 | EXPECT charset-supported | |
31 | EXPECT natural-language-configured | |
32 | EXPECT generated-natural-language-supported | |
33 | EXPECT document-format-default | |
34 | EXPECT document-format-supported | |
35 | EXPECT printer-is-accepting-jobs | |
36 | EXPECT queued-job-count | |
37 | EXPECT pdl-override-supported | |
38 | EXPECT printer-up-time | |
39 | EXPECT compression-supported | |
40 | EXPECT !copies-default | |
41 | EXPECT !copies-supported | |
42 | EXPECT !media-col-database | |
43 | } |