1 # Print a test page using create-job + send-document
3 # The name of the test...
4 NAME "Print test page using create-job"
6 # The resource to use for the POST
12 # Attributes, starting in the operation group...
14 ATTR charset attributes-charset utf-8
15 ATTR language attributes-natural-language en
16 ATTR uri printer-uri $uri
17 ATTR name requesting-user-name $user
22 # What statuses are OK?
25 # What attributes do we expect?
30 # The name of the test...
31 NAME "... and send-document"
33 # The resource to use for the POST
36 # The operation to use
37 OPERATION send-document
39 # Attributes, starting in the operation group...
41 ATTR charset attributes-charset utf-8
42 ATTR language attributes-natural-language en
43 ATTR uri printer-uri $uri
44 ATTR integer job-id $job-id
45 ATTR name requesting-user-name $user
46 ATTR boolean last-document true
48 FILE ../data/testprint.ps
50 # What statuses are OK?