1 # Cancel the currently printing job.
5 # ./ipptool printer-uri cancel-current-jobs.test
7 # The name of the test...
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
19 ATTR name requesting-user-name $user
20 ATTR keyword requested-attributes job-id,job-state
22 # What statuses are OK?
25 EXPECT job-id OF-TYPE integer COUNT 1
27 # What attributes to display
33 SKIP-IF-NOT-DEFINED job-id
34 NAME "Cancel current job"
36 GROUP operation-attributes-tag
37 ATTR charset attributes-charset utf-8
38 ATTR language attributes-natural-language en
39 ATTR uri printer-uri $uri
40 ATTR integer job-id $job-id
41 ATTR name requesting-user-name $user
43 # What statuses are OK?