1# Get list of completed jobs. 2# 3# Usage: 4# 5# ./ipptool printer-uri get-completed-jobs.test 6{ 7 # The name of the test... 8 NAME "Get completed jobs" 9 10 # The operation to use 11 OPERATION Get-Jobs 12 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 18 ATTR keyword which-jobs completed 19 ATTR keyword requested-attributes 20 job-id,job-uri,job-state,job-state-reasons,job-name,job-originating-user-name,job-media-sheets-completed 21 22 # What statuses are OK? 23 STATUS successful-ok 24 25 # What attributes to display 26 DISPLAY job-id 27 DISPLAY job-state 28 DISPLAY job-name 29 DISPLAY job-originating-user-name 30 DISPLAY job-media-sheets-completed 31} 32