Greetings,
On Mon, 13 Aug 2001, Kurt Wall wrote:
> > I've got a print job that appears to be stuck in the print
> > spool. It's a job
> > that I'd like to cancel but it just doesn't want to leave. I'm using
> > slackware 8.0 (lpr).
>
> lprm
Or to be more specific. First determine the JOB number of the job you
wish to purge. Do this with 'lpq'.
linuxnic@dude2:~> lpq
Printer: lp@dude2
Queue: 1 printable job
Server: pid 25785 active
Unspooler: pid 25786 active
Status: printed all 1250 bytes at 20:26:43
Rank Owner/ID Class Job Files Size Time
active linuxnic@dude2+784 A 784 /etc/hosts 1250 20:26:43
Now you can use 'lprm' to delete that specific print job from the
printer queue:
linuxnic@dude2:~> lprm 784
Printer lp@dude2:
checking 'linuxnic@dude2+784'
checking perms 'linuxnic@dude2+784'
dequeued 'linuxnic@dude2+784'
killing subserver '25786'
Bingo! The print job is purged :-)
Enjoy,
--- Jay
+------------------------------------------------------------------------+
| Jay Nugent [EMAIL PROTECTED] (734)971-1076 (734)971-4529/Fax |
| Nugent Telecommunications [www.nuge.com] (734)649-0850/Cell |
| Internet Consulting/Linux SysAdmin/Engineering & Design/ISP Reseller |
| ISP Monitoring [www.ispmonitor.net] ISP & Modem Performance Monitoring |
| Web-Pegasus [www.webpegasus.com] Web Hosting/DNS Hosting/Shell Accts|
| LinuxNIC, Inc. [www.linuxnic.net] Registrar of the .linux TLD |
+------------------------------------------------------------------------+
8:00pm up 1 day, 16:36, 6 users, load average: 0.00, 0.00, 0.00
_______________________________________________
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc
->http://linux.nf/mailman/listinfo/linux-users