|
Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!
User Commands cancel(1)
NAME
cancel - cancel print request
SYNOPSIS
cancel [ request-ID...] [destination...]
cancel -u user... [destination...]
DESCRIPTION
The cancel utility cancels print requests. There are two
forms of the cancel command.
The first form of cancel has two optional arguments: print
requests (request-ID) and destinations (destination). Speci-
fying request-ID with destination cancels request-ID on des-
tination. Specifying only the destination cancels the
current print request on destination. If destination is not
specified, cancel cancels the requested print request on all
destinations.
The second form of cancel cancels a user's print requests on
specific destinations.
Users can only cancel print requests associated with their
username. By default, users can only cancel print requests
on the host from which the print request was submitted. If a
super-user has set user-equivalence=true in
/etc/printers.conf on the print server, users can cancel
print requests associated with their username on any host.
Super-users can cancel print requests on the host from which
the print request was submitted. Superusers can also cancel
print requests from the print server.
The print client commands locate destination information
using the printers database in the name service switch. See
nsswitch.conf(4), printers(4), and printers.conf(4) for
details.
OPTIONS
The following options are supported:
-u user The name of the user for which print
requests are to be cancelled. Specify user
as a username.
OPERANDS
The following operands are supported:
destination The destination on which the print requests
are to be canceled. destination is the name
SunOS 5.10 Last change: 23 Feb 2005 1
User Commands cancel(1)
of a printer or class of printers (see
lpadmin(1M)). If destination is not speci-
fied, cancel cancels the requested print
request on all destinations. Specify desti-
nation using atomic or POSIX-style
(server:destination), names. See NOTES for
information regarding using POSIX-style des-
tination names with cancel. See standards(5)
for information regarding POSIX.
request-ID The print request to be canceled. Specify
request-ID using LP-style request IDs
(destination-number).
user The name of the user for which the print
requests are to be cancelled. Specify user
as a username.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
non-zero An error occurred.
FILES
/var/spool/print/* LP print queue.
$HOME/.printers User-configurable printer database.
/etc/printers.conf System printer configuration data-
base.
printers.conf.byname NIS version of /etc/printers.conf.
SunOS 5.10 Last change: 23 Feb 2005 2
User Commands cancel(1)
printers.org_dir NIS+ version of /etc/printers.conf.
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | SUNWpcu |
|_____________________________|_____________________________|
SEE ALSO
lp(1), lpq(1B), lpr(1B), lprm(1B), lpstat(1), lpadmin( 1M),
nsswitch.conf(4), printers(4), printers.conf(4), attri-
butes(5), standards(5)
NOTES
POSIX-style destination names (server:destination) are
treated as print requests if destination has the same format
as an LP-style request-ID. See standards(5).
Some print servers send cancelation notification to job own-
ers when their print jobs have been cancelled. This notifi-
cation usually comes in the form of an email message. Cance-
lation notices cannot be disabled on a Solaris server.
SunOS 5.10 Last change: 23 Feb 2005 3
Man(1) output converted with
man2html and wrapped by fishsponge
This page was generated on Wed Sep 12 11:24:28 GMT 2007
|
Your favourite pages:
No pages logged yet... Top 10 most popular pages:
prstat man page (24546 hits) (Solaris 10 11_06)
netcat man page (17695 hits) (Suse Linux 10.1)
ssh-socks5-proxy-connect man page (13530 hits) (Solaris 10 11_06)
signal man page (12550 hits) (Suse Linux 10.1)
startproc man page (11991 hits) (Suse Linux 10.1)
raidctl man page (11357 hits) (Solaris 10 11_06)
adv_cap_autoneg man page (10285 hits) (Solaris 10 11_06)
sqlite3 man page (9729 hits) (openSUSE 10.2)
CPAN man page (8947 hits) (Suse Linux 10.1)
BusyBox man page (7702 hits) (Suse Linux 10.1)
|