]> git.ipfire.org Git - thirdparty/cups.git/blame - test/print-job.test
Changelog.
[thirdparty/cups.git] / test / print-job.test
CommitLineData
5867de2e 1# Print a test page using print-job
74bcc47c 2{
3 # The name of the test...
81da3158 4 NAME "Print file using Print-Job"
74bcc47c 5
6 # The operation to use
81da3158 7 OPERATION Print-Job
74bcc47c 8
9 # Attributes, starting in the operation group...
81da3158 10 GROUP operation-attributes-tag
e94d9da6 11 ATTR charset attributes-charset utf-8
74bcc47c 12 ATTR language attributes-natural-language en
8202ae96 13 ATTR uri printer-uri $uri
14 ATTR name requesting-user-name $user
17ab7660 15 ATTR mimeMediaType document-format $filetype
74bcc47c 16
81da3158 17 GROUP job-attributes-tag
74bcc47c 18 ATTR integer copies 1
19
81da3158 20 FILE $filename
74bcc47c 21
22 # What statuses are OK?
702ad49e 23 STATUS successful-ok
24 STATUS successful-ok-ignored-or-substituted-attributes
74bcc47c 25
26 # What attributes do we expect?
27 EXPECT job-id
28 EXPECT job-uri
29}