diff options
author | Michael R Sweet <michael.r.sweet@gmail.com> | 2019-04-26 11:05:27 -0400 |
---|---|---|
committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2019-04-26 11:05:27 -0400 |
commit | f1ac9f5889e6a9a8996041ab46e6ca1e0cb8a238 (patch) | |
tree | b28d47f3580aa4ea386b7a09c6c6340f16cdbd80 /examples/print-uri.test | |
parent | a76950482b3327f096e7188234173d739101aef1 (diff) | |
download | cups-f1ac9f5889e6a9a8996041ab46e6ca1e0cb8a238.tar.gz |
Move example ipptool files to the examples directory.
Build tools directory for IPP tools.
Diffstat (limited to 'examples/print-uri.test')
-rw-r--r-- | examples/print-uri.test | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/examples/print-uri.test b/examples/print-uri.test new file mode 100644 index 000000000..aaa7d392e --- /dev/null +++ b/examples/print-uri.test @@ -0,0 +1,27 @@ +# Print a file using Print-URI +{ + # The name of the test... + NAME "Print file using Print-URI" + + # The operation to use + OPERATION Print-URI + + # Attributes, starting in the operation group... + GROUP operation-attributes-tag + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $uri + ATTR name requesting-user-name $user + ATTR uri document-uri file://$filename + + GROUP job-attributes-tag + ATTR integer copies 1 + + # What statuses are OK? + STATUS successful-ok + STATUS successful-ok-ignored-or-substituted-attributes + + # What attributes do we expect? + EXPECT job-id + EXPECT job-uri +} |