ppr-list-digest volume 5, number 39, 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: David Chappell <David.Chappell@trincoll.edu>
Date: Tue, 15 Jul 2003 17:13:49 -0400
Subject: Re: PPR: Printer status in 1.50 always says paper low

Tim Leamy wrote:
> All,
> 
>   I just upgraded a server to 1.50 and noticed that it doesn't seem to
> update the paper low status correctly.  It says paper low, but it doesn't
> reset when we add paper.
> 
>   I also noticed that the pprdrv log file has odd error messages:
> DEBUG (1372 05:09:57PM 1.40): considering line: "@PJL USTATUS DEVICE"
> DEBUG (1372 05:09:57PM 1.40): considering line: "CODE=10023"
> DEBUG (1372 05:09:57PM 1.40): considering line: "DISPLAY="PROCESSING JOB
> FROM TRAY 2""
> DEBUG (1372 05:09:57PM 1.40): considering line: "ONLINE=TRUE"

>   It seems that it tries to translate the PJL status twice and therefore
> looses the information from the first time.  So I figure the two problems
> might be related since they both relate to printer status.
> 
>   Has anyone seen and fixed this?  I wanted to check before spending too
> much time mucking around in the code.

Actually, it isn't processing the code twice.  The PJL status can 
contain up to two codes.   In this case there is only one.

Reviewing the code, I see that once low paper is detected, there is 
nothing that clears it.  In contrast, out of paper is cleared if a job 
is printed since the printing of the job is proof that the printer is 
out of paper.

It looks like paper low is set when a 11xxx code is received.  Maybe 
someone could produce a trace from which we could determine what changes 
in the codes when a paper low condition goes away.  For example, it is 
repeated continuously until the condition is removed?

================================================================
David Chappell			David.Chappell@Mail.Trincoll.Edu
Computing Center		Postmaster@Mail.Trincoll.Edu
Trinity College			(860) 297-2114
Hartford, Connecticut 06106
U.S.A.