cancel(1) Apple Inc. cancel(1)NAME
cancel - cancel jobs
SYNOPSIS
cancel [ -E ] [ -U username ] [ -a ] [ -h hostname[:port] ] [ -u username ] [ -x ] [ id ] [ destination ] [ destination-id ]
DESCRIPTION
cancel cancels existing print jobs. The -a option will remove all jobs from the specified destination.
OPTIONS
The following options are recognized by cancel:
-E
Forces encryption when connecting to the server.
-U username
Specifies the username to use when connecting to the server.
-a
Cancel all jobs on the named destination, or all jobs on all destinations if none is provided.
-h hostname[:port]
Chooses an alternate server.
-u username
Cancels jobs owned by username.
-x
Deletes job data files in addition to canceling.
COMPATIBILITY
Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE, TAB, "/", or "#". Also,
printer and class names are not case-sensitive.
NOTES
Administrators wishing to prevent unauthorized cancellation of jobs via the -u option should require authentication for Cancel-Jobs opera-
tions in cupsd.conf(5).
SEE ALSO lp(1), lpmove(8), lpstat(1),
http://localhost:631/help
COPYRIGHT
Copyright 2007-2013 by Apple Inc.
21 January 2013 CUPS cancel(1)
Check Out this Related Man Page
lprm(1) Apple Inc. lprm(1)NAME
lprm - cancel print jobs
SYNOPSIS
lprm [ -E ] [ -U username ] [ -h server[:port] ] [ -P destination[/instance] ] [ - ] [ job-id(s) ]
DESCRIPTION
lprm cancels print jobs that have been queued for printing. If no arguments are supplied, the current job on the default destination is
canceled. You can specify one or more job ID numbers to cancel those jobs or use the - option to cancel all jobs.
OPTIONS
The lprm command supports the following options:
-E Forces encryption when connecting to the server.
-P destination[/instance]
Specifies the destination printer or class.
-U username
Specifies an alternate username.
-h server[:port]
Specifies an alternate server.
CONFORMING TO
The CUPS version of lprm is compatible with the standard Berkeley command of the same name.
EXAMPLES
Cancel the current job on the default printer:
lprm
Cancel job 1234:
lprm 1234
Cancel all jobs:
lprm -
SEE ALSO cancel(1), lp(1), lpq(1), lpr(1), lpstat(1), CUPS Online Help (http://localhost:631/help)
COPYRIGHT
Copyright (C) 2007-2017 by Apple Inc.
22 May 2014 CUPS lprm(1)
Hi unix-friends,
I've got an RS6000 with Unix 4.3 as OS.
I'm writing a script that i want to use for cancelling all print jobs at once. Does anyone have any good idea's, hints, or tips?
Hope to hear from you,
Erik (3 Replies)
I need help, please!!!!!!!!
I have accidentally selected to compile all my programs, which will probably take forever!! How can I cancel the compiling of the programs. I see in qstatus the huge list of programs waiting to be compiled.
Thanks! :eek: (1 Reply)
Discussion started by: itldp
1 Replies
4. Post Here to Contact Site Administrators and Moderators
hi every body
i used " lpstat -o" to show the printer jobs and i already canceld it by "cancel -e -f jobid"
but the problem i found when used " lpstat -o" again it said that job in progress i think because it in the buffer but i don't know how to clear the printer. (9 Replies)
Hi ,
I have an issue with sftp username as i have @ character in the username.
eg: username=abc@123
when i do as below,
sftp abc@123@servername # Its taking only 123@servername .
Also, i tried following options,
sftp abc\@123@servername
sftp 'abc\@123'@servername
Please... (2 Replies)
hi,
I want to remove first word in all files where first and second word is seperated by comma.
example: a file contains Apple,mango.
i need only mango shoule be there in the file???
Apple, should be removed!!!!!
can anyone help me out???
thanks in advance,
Arun Manas:b: (2 Replies)
Hello,
Sometimes i need to clear all the jobs of a print queue and it is really annoying to cancel one by one.
Is there a way to cancel all print jobs for a specific print queue with a single command instead of cancelling them one by one?
My AIX system is 5.3
Thank you for your attention (2 Replies)
Hi guys,
Does any one know how to do script for cancel Print jobs. First it will ask for printer name or type and then show all print queus then remove jobs from the printer.
Thanks (14 Replies)
Discussion started by: masco
14 Replies
10. Post Here to Contact Site Administrators and Moderators
Hello,
I would like to get the full username when I run the command 'lpstat'. I've tried using the tags -t and -W, but nothing works.
It seems that the username has a fixed length. However I need the complete name.
Thanks a lot! (2 Replies)
I have a system running OpenServer 5.0.7 and I am having problems with printing. All of sudden I am getting this error when issuing a lpstat command or any lp command.
UX: cancel: WARNING: "-t" is not a request id or a printer
TO FIX: Cancel requests by id... (7 Replies)