Re: How to flush lpstat pipe after canceling print?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Dennis Kibbe
Date:  
To: plug-discuss
Subject: Re: How to flush lpstat pipe after canceling print?
On Wed, 15 Jun 2005 10:00:53 -0700
Josef Lowder <> wrote:

>
> This is a small, but very annoying problem ...
>
> Sometimes I mistakenly send a large file to print,
> so I use 'lpstat' to get the file print number, and then
> use cancel Printer-nnnn to cancel the unwanted file.
>
> But even after doing that, when I subsequently turn on
> the printer, I get one or two pages of garbage printing.
>
> Is there any way to flush out the pipe after canceling
> a print request, so I don't get those annoying garbage-
> print pages?


Run lpq to see if there is anything in the que and lprm <n> to remove it. n being the job number. If something is still in the printer's RAM after turning the printer off and on try waiting 30 seconds before turning the printer back on.

Dennisk
--
All that is necessary for the triumph of evil is that good men do nothing. Edmund Burke Irish orator, philosopher, & politician (1729 - 1797)
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss