ppr-list-digest volume 3, number 47, message 1

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: Thu, 29 Mar 2001 11:28:03 +0100
Subject: PPR: Out of paper: no erros ?

Hi,

  I have installed the latest 1.43 package.  I have also changed the
strategy of handling printer errors.  Instead of doing constant "ppop
status" to a file, then reading and parsing the file, I rely now on a
responder, which works very well when jobs are printed successfully, when
the paper tray is out and when a job is canceled.  But when an "out of
paer" situation arises, it is a different story.  I put one piece of paper
in the HP LaserJet 5 SiMX.  I print one successful job (responder works
fine) the I print another job.  After some time the responder has still no
shown any sign so I check with ppop status all.  Here is some output:

$ ppop status all

hp5simx          printing hp5simx-204
                 Printer Status (PJL): OFFLINE "PAPIERFACH 2 LADEN      NORMALPAP. ISO A4" 41204 0
                 Operation: Waiting for printer to catch up...
                 Page Clock: 2 seconds (clock stopt)

[a bit later...]

$ ppop status all

Printer          Status
- ------------------------------------------------------------
hp5simx          printing hp5simx-204
                 Printer Status (PJL): OFFLINE "PAPIERFACH 2 LADEN      NORMALPAP. ISO A4" 41204 0
                 Operation: Waiting for printer to catch up, stalled for 2 minutes
                 Page Clock: 2 seconds (clock stopt)


So, the printer is offline, the paper tray needs paper, but pprd is still trying to send the job.  Is there a way to immediately report such a
condition to the responder so that
the responder can then alert the user?  There are no mail alert services in use.  Only the responder is used.

The configuration of the printer is the following (i.e. ppad show) :

Printer name: hp5simx
Comment:
Interface: tcpip
Address: "10.180.30.100:9100"
Options:
JobBreak: pjl (by default)
Feedback: yes
Codes: TBCP (by default)
Alert frequency: 0 (never send alerts)
Alert method: none
Alert address: none
Flags: no no (banners discouraged, trailers discouraged)
Charge: none
PPDFile: HP LaserJet 5Si
Bins:
OutputOrder: PPD
Default Filter Options: level=2 colour=False resolution=600 freevm=1515136
    mfmode=ljfive
Switchset: -F 'PageSize=A4' -m resp_pi

Regards,

Alain