ppr-list-digest volume 3, number 59, message 3

Note: please don't spam any of the e-mail addresses which you see here. Follow this link if you want some addresses to misuse.


From: Alain.Lachapelle@Heimannsystems.Com
Date: Wed, 18 Apr 2001 07:36:27 +0100
Subject: Antwort: Re: PPR: Retry on fault, but no printer

>Le 17 avril 2001 a 10:21, Alain.Lachapelle@Heimannsystems.Com a écrit :
>>   This is very basic, but I haven;t done it before, so I removed the
>> printer from the network to find that when new jobs were processed by
ppr,
>> ppr reported appropriately "fault", but was keeping on  with retries.
Is
>> there a way for ppr to see that there are no printer at the other end
and
>> to trigger a responder error ?  Printer is HP LaserJet.

>You could stop the printer by issuing a 'ppop reject <destination>'. By
>reading through the ppad(8) and ppop(1) man pages, I think it is the
>cleanest solution, but may be wrong. This will send a message to the
>user every time he tries to print on this particular destination.

Yes, although this condition has to be detected by software.  ppr runs as a
sub-process launched
to print jobs inside a dedicated system with dedicated user interface.
Users have to know that the
printer is out because they tend to press the print button 50 times when it
does not work.  Only way so
far is to parse one "ppop status" report and look for the word "fault".  If
"fault" then all print jobs are
canceled and the users are alerted. That would be great for ppr to detect
that there are no printers since it would then be possible to rely
exclusively on ppr to handle the print jobs.

Alain