ppr-list-digest volume 3, number 10, 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: Tue, 30 Jan 2001 13:47:04 +0100
Subject: Re: Antwort: Re: PPR: ppr newbie

Hi!

>> Alain.Lachapelle@Heimannsystems.Com wrote:

>> I would like to know if PPR also supports PostScript printer error
>> messages.  Like for instance with a printer that does not have any other
>> means of communicating errors than by sending PostScript replies.

>If you mean error messages such as:
>%%[ PrinterError: Paper Jam ]%%

>then yes, if your printer sends them unsolicited, then PPR will show
>them in "ppop status" output and can run arbitrary commands when they
>are received.

On the subject of printer errors I have tried today with a paper jam.  The
paper jam situation was there with the A4 paper size.  I then polled the
status of the printer with:

§ ppop -M status hp5simx
hp5simx idle

It showed the printer as idle.  I also tried with "ppop alerts" but there were no alerts.  So I thought that perhaps it
needed a print job to report status, so I sent one like this:

$ ppr -d hp5simx -F 'PageSize=A4' -m none -B false pi1.ps
WARNING: Procset "a2ps-a2ps-hdr" has no version and revision numbers
WARNING: Procset "a2ps-black+white-Prolog" has no version and revision numbers
WARNING: Resource "procset a2ps-a2ps-hdr 0 0" declared Supplied but isn't included
WARNING: Resource "procset a2ps-black+white-Prolog 0 0" declared Supplied but isn't included

§ ppop -M status hp5simx
hp5simx printing hp5simx-53 0   operation: Connecting...

After several "Connecting..." messages the status reported a retry pause:

§ ppop -M status hp5simx
hp5simx engaged 1 50

$ ppop list all
hp5simx-53      lachap       01:15PM   001 waiting for printer

And then "npadmin --display 10.180.30.100" (a SNMP MIB utility) reported what was on the printer's display, that is, an error message about the paper
jam.

The printer is a HP LJ5 SiMX and here is its' PPR configuration:

$ ppad show hp5simx
Printer name: hp5simx
Comment: Entwicklung druecker
Interface: tcpip
Address: "10.180.30.100:9100"
Options:
JobBreak: pjl (by default)
Feedback: yes
Codes: TBCP (by default)
Alert frequency: 5 (send alert every 5 errors)
Alert method: mail
Alert address: alain.lachapelle@heimannsystems.com
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:

Do you know what is going on?  Is there something missing in PPR's config? In this case is a software timeout after several minutes of getting the
tries the only alternative?

Regards,

Alain