urgent lprm problem


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting urgent lprm problem
# 1  
Old 08-07-2008
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!
now i'm trying to print a new file
lp -d prt1 <file_name>
lp: Destination "prt1" is not accepting jobs.
did i cause any harm?
lprm is deleted only print jobs is that correct ?
please help me
thanks in advanced
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

URGENT HELP: problem with mv command

I was trying to move a file to a particular directory. In a hurry i forgot to give the dest directory, as below mv prod.log The file disappeared. :confused: Any idea where it might have moved??? And I have tried moving files based on date from one directory to another as below.... (1 Reply)
Discussion started by: siteregsam
1 Replies

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

3. Shell Programming and Scripting

urgent: script problem???

#!/usr/bin/sh read file #exec 3<&0 exec 0<$file while read line do if then BOUND=$line break fi count=`expr $count + 1` done #exec 0<&3 echo $BOUND sh check.sh (4 Replies)
Discussion started by: skyineyes
4 Replies

4. Shell Programming and Scripting

Urgent: ACCESS PROBLEM

Hi I have users A and B in UNIX system both are not having root priveleges. User A has written a script file where it connects to database and uses a logfile directed to the path in directory of USER B. I copied the script into USER B directory and tried to run the script. Its giving... (3 Replies)
Discussion started by: skyineyes
3 Replies

5. AIX

URGENT --problem in unzipping

when try to unzip a very big file facing an error of disk full. can any body help me to unzip this file . $ unzip abc.zip Archive: abc.zip inflating: abc.zrp abc.zip write error (disk full?). Continue? (y/n/^C) $ n Thanks & Regards (2 Replies)
Discussion started by: suman_jakkula
2 Replies

6. Shell Programming and Scripting

problem in unzipping---URGENT

when try to unzip a very big file facing an error of disk full. can any body help me to unzip this file . $ unzip abc.zip Archive: abc.zip inflating: abc.zrp abc.zip write error (disk full?). Continue? (y/n/^C) $ n Thanks & Regards (1 Reply)
Discussion started by: suman_jakkula
1 Replies

7. HP-UX

Urgent printing problem

I can no longer print from HP-UX 10. All the printers are network printers. I have already stopped and restarted the spooler (lpshut and lpsched), but still the same problem. The printers react when I ping them. I have also tried with SAM, but the system cannot find the printers. Can somebody... (1 Reply)
Discussion started by: filipd
1 Replies

8. Solaris

Another Urgent HDD problem

I have another Hdd problem with Ultra 1 machine the hdd is segate (+-)17560 MB and when I start installtion of sun solaries 2.6 the system sees the hdd correctly, and the installtion goes fine with partioning the disk as follows / 150 MB swap 500 MB /user 1000 MB /user1 100MB /usr3 5500 MB... (4 Replies)
Discussion started by: adol3
4 Replies

9. UNIX for Dummies Questions & Answers

help urgent problem

i accedently "deleted" all workspaces I have a black screen and dont know what to do solaris common desktop enviroment (1 Reply)
Discussion started by: ssshakir
1 Replies

10. UNIX for Dummies Questions & Answers

Urgent problem with wtmpx

Hi everybody I have a problem with wtmpx. Accounting file. I activated it. It works but to well :( Writes the same message every minute. "faxmodem" As you can see it does not take to long until my /var file is soon full. Thanks Peter (26 Replies)
Discussion started by: Peterh
26 Replies
Login or Register to Ask a Question
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)