|
Packit |
2fc92b |
#
|
|
Packit |
2fc92b |
# "$Id$"
|
|
Packit |
2fc92b |
#
|
|
Packit |
2fc92b |
# Get list of completed jobs.
|
|
Packit |
2fc92b |
#
|
|
Packit |
2fc92b |
# Copyright 2007-2014 by Apple Inc.
|
|
Packit |
2fc92b |
# Copyright 2001-2006 by Easy Software Products. All rights reserved.
|
|
Packit |
2fc92b |
#
|
|
Packit |
2fc92b |
# These coded instructions, statements, and computer programs are the
|
|
Packit |
2fc92b |
# property of Apple Inc. and are protected by Federal copyright
|
|
Packit |
2fc92b |
# law. Distribution and use rights are outlined in the file "LICENSE.txt"
|
|
Packit |
2fc92b |
# which should have been included with this file. If this file is
|
|
Packit |
2fc92b |
# file is missing or damaged, see the license at "http://www.cups.org/".
|
|
Packit |
2fc92b |
#
|
|
Packit |
2fc92b |
# Usage:
|
|
Packit |
2fc92b |
#
|
|
Packit |
2fc92b |
# ./ipptool printer-uri get-completed-jobs.test
|
|
Packit |
2fc92b |
#
|
|
Packit |
2fc92b |
|
|
Packit |
2fc92b |
|
|
Packit |
2fc92b |
{
|
|
Packit |
2fc92b |
# The name of the test...
|
|
Packit |
2fc92b |
NAME "Get completed jobs"
|
|
Packit |
2fc92b |
|
|
Packit |
2fc92b |
# The operation to use
|
|
Packit |
2fc92b |
OPERATION Get-Jobs
|
|
Packit |
2fc92b |
|
|
Packit |
2fc92b |
# Attributes, starting in the operation group...
|
|
Packit |
2fc92b |
GROUP operation-attributes-tag
|
|
Packit |
2fc92b |
ATTR charset attributes-charset utf-8
|
|
Packit |
2fc92b |
ATTR language attributes-natural-language en
|
|
Packit |
2fc92b |
ATTR uri printer-uri $uri
|
|
Packit |
2fc92b |
ATTR keyword which-jobs completed
|
|
Packit |
2fc92b |
ATTR keyword requested-attributes
|
|
Packit |
2fc92b |
job-id,job-uri,job-state,job-state-reasons,job-name,job-originating-user-name,job-media-sheets-completed
|
|
Packit |
2fc92b |
|
|
Packit |
2fc92b |
# What statuses are OK?
|
|
Packit |
2fc92b |
STATUS successful-ok
|
|
Packit |
2fc92b |
|
|
Packit |
2fc92b |
# What attributes to display
|
|
Packit |
2fc92b |
DISPLAY job-id
|
|
Packit |
2fc92b |
DISPLAY job-state
|
|
Packit |
2fc92b |
DISPLAY job-name
|
|
Packit |
2fc92b |
DISPLAY job-originating-user-name
|
|
Packit |
2fc92b |
DISPLAY job-media-sheets-completed
|
|
Packit |
2fc92b |
}
|
|
Packit |
2fc92b |
|
|
Packit |
2fc92b |
|
|
Packit |
2fc92b |
#
|
|
Packit |
2fc92b |
# End of "$Id$".
|
|
Packit |
2fc92b |
#
|