Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

lprm(1) [x11r4 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 cancelled. 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. COMPATIBILITY
The CUPS version of lprm is compatible with the standard Berkeley lprm command. SEE ALSO
cancel(1), lp(1), lpq(1), lpr(1), lpstat(1), http://localhost:631/help COPYRIGHT
Copyright 2007-2011 by Apple Inc. 28 August 2009 CUPS lprm(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 cancelled. 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. COMPATIBILITY
The CUPS version of lprm is compatible with the standard Berkeley lprm command. SEE ALSO
cancel(1), lp(1), lpq(1), lpr(1), lpstat(1), http://localhost:631/help COPYRIGHT
Copyright 2007-2011 by Apple Inc. 28 August 2009 CUPS lprm(1)
Man Page

13 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Permission Denied when cancel lp job

Sun E5000 running Solaris 8 I receive permission denied error when attempting to cancel a print job as root, user, or lp. I found a tech tip that said to remove the tcp lp listeners but that didn't help. I can clean the queue using the old sun lpc command but my users need to be able to cancel... (2 Replies)
Discussion started by: Ron Restieri
2 Replies

2. UNIX for Advanced & Expert Users

cancel the massage

Hi all In Aix system Someone know i want to cancel the massage. if some user print something and user root deleting the job i got brodcast message " message from queueing system job number XXX has been deleteing from queue. <EOT> " I use the cancel command (1 Reply)
Discussion started by: goldfelda
1 Replies

3. UNIX for Dummies Questions & Answers

Problem deleting print job

I am running SCO OpenServer Release 5 and I had a problem with a print job and I cancelled it. The print job still shows under lpstat as cancelled but doesn't go away and now I everything I print to the printer stays in the queue, but doesn't print. I have tried to delete the print job in... (2 Replies)
Discussion started by: sgtdmc
2 Replies

4. OS X (Apple)

Get print job information

Hi all, I am on a mac and I am trying to get more information about print jobs i have. "lpq" only displays the document printing, size, and job ID. I need the status (if its on hold or not). Anyway to do that in unix/cups? (5 Replies)
Discussion started by: CBarraford
5 Replies

5. Shell Programming and Scripting

urgent lprm problem

hi all i have printer call prt1 we send to this printer some job and then we want to cancel it. we did lpstat no job id found so i did lprm and it wrote to me No active jobs on prt3!(which i don't have this kind of printer) then i wrote lprm prt1 lprm: No active jobs on prt1! ... (0 Replies)
Discussion started by: naamas03
0 Replies

6. UNIX for Dummies Questions & Answers

Catching print jobs.

Hi, I am wondering how to catch print jobs to process them before been served to the printer. I was told that the challenge is to catch raw text that an old legacy application sends to the printer (invoices, quotes, etc) and save them as text files to allow a new application to process them... (5 Replies)
Discussion started by: miguel77mex
5 Replies

7. Shell Programming and Scripting

truncate/round down 2nd string print both

I have a file with a name and then a number: Apple 1.1 Apple 1.5 Apple 1.9 Banana 1.3 Banana 2.7 Banana 3.3 I'd like to print out the first string followed by the second number rounded down or truncated: Apple 1 Apple 1 Apple 1 Banana 1 Banana 2 Banana 3 I was trying: (3 Replies)
Discussion started by: dcfargo
3 Replies

8. Shell Programming and Scripting

cups: lprm, cancel is not working

Hi, I'm trying the remove the Print Queue just now. I'm execute the commands like lprm or cancel but it is not working. The Print Job still exist. lprm -Ppr101 21 cancel pr101-21 The record is still exit there, who's know what's problem? # lpq -Ppr101 pr101: stopped: Rank Owner Job... (0 Replies)
Discussion started by: webster5u
0 Replies

9. Solaris

Cancel printer queue permission

How to assign permission for a user to cancel unix printer queue other than root? lprm -P and cancel? How to chmod for /bin/cancel to -rws-x-x --> s means? Please help. Thank you. (1 Reply)
Discussion started by: KhawHL
1 Replies

10. Solaris

what privilege to assign for user to cancel or disable print queue?

OS Version: Sun Solaris version 9 Other than root, we need operation to manage printer queue by using following command: lprm -P cancel enable/disable What privilege should be given? Pls advise. Thank you. (4 Replies)
Discussion started by: KhawHL
4 Replies

11. 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

12. UNIX for Dummies Questions & Answers

Copying a file from one server to another (behind firewall.)

Hi, I want to copy a file from one server A to another server B. Usually I use scp username@source-server:/path . (from the destination folder) However, in this particular case, I have server C behind a firewall. So, I connect to Server B and ssh over to server C. --this is the source... (3 Replies)
Discussion started by: neil.k
3 Replies

13. Shell Programming and Scripting

AWK way of calculating growth

Hi All, IS there any 'awk' way to manipulate following data? Fruit Date Count Apple 20/08/2011 5 Apple 27/08/2011 7 Apple 05/09/2011 11 Apple 12/09/2011 3 Apple 19/09/2011 25 . . . . Orange 20/08/2011 9 Orange 27/08/2011 20 Orange 27/08/2011 7 Orange 05/09/2011 15 Orange... (3 Replies)
Discussion started by: aniketdixit
3 Replies