2 # "$Id: get-jobs.test 9702 2011-04-20 21:16:08Z mike $"
4 # Get list of not-completed jobs.
6 # Copyright 2007-2012 by Apple Inc.
7 # Copyright 2001-2006 by Easy Software Products. All rights reserved.
9 # These coded instructions, statements, and computer programs are the
10 # property of Apple Inc. and are protected by Federal copyright
11 # law. Distribution and use rights are outlined in the file "LICENSE.txt"
12 # which should have been included with this file. If this file is
13 # file is missing or damaged, see the license at "http://www.cups.org/".
17 # ./ipptool printer-uri get-jobs.test
22 # The name of the test...
23 NAME "Get pending jobs"
25 # The operation to use
28 # Attributes, starting in the operation group...
29 GROUP operation-attributes-tag
30 ATTR charset attributes-charset utf-8
31 ATTR language attributes-natural-language en
32 ATTR uri printer-uri $uri
33 ATTR keyword requested-attributes
34 job-id,job-state,job-state-reasons,job-name,job-originating-user-name,job-media-sheets,job-media-sheets-completed,job-impressions,job-impressions-completed
36 # What statuses are OK?
39 # What attributes to display
43 DISPLAY job-originating-user-name
44 DISPLAY job-impressions
45 DISPLAY job-impressions-completed
46 DISPLAY job-media-sheets
47 DISPLAY job-media-sheets-completed
52 # End of "$Id: get-jobs.test 9702 2011-04-20 21:16:08Z mike $".