ppr-list-digest volume 5, number 38, 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: Tim Leamy <tcleamy@ucdavis.edu>
Date: Tue, 8 Jul 2003 17:26:40 -0700 (PDT)
Subject: PPR: Printer status in 1.50 always says paper low

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"
DEBUG (1372 05:09:57PM 1.40): feedback_reader(): FF ends PJL block
DEBUG (1372 05:09:57PM 1.40): handle_ustatus_device(online=2, code=10023,
message[]="PROCESSING JOB FROM TRAY 2", code2=0, message2[]="")
DEBUG (1372 05:09:57PM 1.40): translate_pjl_message(code=10023,
display[]="PROCESSING JOB FROM TRAY 2", ...)
DEBUG (1372 05:09:57PM 1.41): translate_pjl_message(): match on 10023!
DEBUG (1372 05:09:57PM 1.41): translate_pjl_message(): 10023 "PROCESSING
JOB FROM TRAY 2" --> 2 4 -1 "PROCESSING JOB"
DEBUG (1372 05:09:57PM 1.41): translate_pjl_message(code=0, display[]="",
..)
ERROR (1372 05:09:57PM 1.41): /usr/pkg/ppr/lib/pjl-messages.conf: no match
for 0 ""
DEBUG (1372 05:09:57PM 1.41): translate_pjl_message(): 0 "" --> -1 -1 -1
""
ERROR (1372 05:09:57PM 1.41): PJL error: 10023  "PROCESSING JOB FROM TRAY
2"

  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.

  Thanks.

			Tim Leamy
			Computer Lab Management
			University of California at Davis
			tcleamy@ucdavis.edu
			http://clm.ucdavis.edu/