1 # Print a test page using Print-Job + media-col
5 # ./ipptest -f filename ipp://... print-job-media-col.test
7 # The name of the test...
8 NAME "Print test page using Print-Job + media-col"
10 # The operation to use
13 # Attributes, starting in the operation group...
14 GROUP operation-attributes-tag
15 ATTR charset attributes-charset utf-8
16 ATTR language attributes-natural-language en
17 ATTR uri printer-uri $uri
18 ATTR name requesting-user-name $user
19 ATTR mimetype document-format application/octet-stream
21 GROUP job-attributes-tag
22 ATTR collection media-col {
23 MEMBER collection media-size {
25 MEMBER integer x-dimension 10160
26 MEMBER integer y-dimension 15240
30 MEMBER integer media-left-margin 0
31 MEMBER integer media-right-margin 0
32 MEMBER integer media-top-margin 0
33 MEMBER integer media-bottom-margin 0
35 ATTR enum print-quality 5
39 # What statuses are OK?
41 STATUS successful-ok-ignored-or-substituted-attributes
43 # What attributes do we expect?
44 EXPECT job-id OF-TYPE integer WITH-VALUE >0
45 EXPECT job-uri OF-TYPE uri