Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cancel(1) [osx man page]

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)
Man Page

13 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to cancel all printjobs at once?

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)
Discussion started by: Erik Rooijmans
3 Replies

2. Linux

printer

i cancel the printer then also it no cancelnig (1 Reply)
Discussion started by: ramesh
1 Replies

3. UNIX for Dummies Questions & Answers

Cancel QCompile

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

cancel account

id like to cancel my account please. thanks (5 Replies)
Discussion started by: samb057
5 Replies

5. HP-UX

i want to cancel printing job

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)
Discussion started by: maxim42
9 Replies

6. UNIX for Advanced & Expert Users

SFTP username

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)
Discussion started by: mohanpadamata
2 Replies

7. UNIX for Dummies Questions & Answers

cut or remove command

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)
Discussion started by: arunmanas
2 Replies

8. UNIX for Advanced & Expert Users

[Solved] remove all print jobs from a print queue

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)
Discussion started by: omonoiatis9
2 Replies

9. Shell Programming and Scripting

Cancel Printing Problem

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

Wanna change my username

Hi team, I want to change my username.. I tried in the edit option but i can't get it.. Can u help me.? (1 Reply)
Discussion started by: Adhi
1 Replies

11. Post Here to Contact Site Administrators and Moderators

Changing login details

Dear Administrators! I would like to change my username for this forum, would it be possible? Regards FR (1 Reply)
Discussion started by: fretagi
1 Replies

12. AIX

How to display the full username using 'lpstat'?

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)
Discussion started by: ribaldo
2 Replies

13. SCO

UX: cancel: WARNING: "-t" is not a request id or a printer

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)
Discussion started by: trolley
7 Replies