]> git.ipfire.org Git - thirdparty/cups.git/blob - examples/get-job-template-attributes.test
Changelog
[thirdparty/cups.git] / examples / get-job-template-attributes.test
1 # Get printer Job Template attributes using get-printer-attributes
2 {
3 # The name of the test...
4 NAME "Get printer Job Template 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 job-template,media-col-database
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 copies-default
22 EXPECT copies-supported
23 EXPECT media-col-database
24 }