Operating System - Linux
1755219 Members
5061 Online
108830 Solutions
New Discussion

Linux - printing to HP Jetdirect

 
Gord Belsey
New Member

Linux - printing to HP Jetdirect

I'm having a problem printing to printers on an HP jetdirect from a linux box:

Linux RH 6.2
LPRng 3.6.13
printing to raw (vs text).

Some print jobs clear the queue, but every now and then (several times a day) they get stuck. lpstat reports "connection refused" then link failed. Here's what shows up in the status log:

sending job 'thughes@fis+425' to raw1@fis010jet1 at 2000-09-27-12:08:00.183 ## i
dentifier=thughes@fis+425 number=425 process=14746
connecting to 'fis010jet1', attempt 1 at 2000-09-27-12:08:00.183 ## identifier=t
hughes@fis+425 number=425 process=14746
connected to 'fis010jet1' at 2000-09-27-12:08:00.321 ## identifier=thughes@fis+4
25 number=425 process=14746
requesting printer raw1@fis010jet1 at 2000-09-27-12:08:00.321 ## identifier=thug
hes@fis+425 number=425 process=14746
job 'thughes@fis+425' transfer to raw1@fis010jet1 failed
error 'NONZERO RFC1179 ERROR CODE FROM SERVER' with ack 'ack error -1'
sending str '^Braw1' to raw1@fis010jet1 at 2000-09-27-12:08:00.360 ## identifi
er=thughes@fis+425 number=425 process=14746
subserver pid 14746 exit status 'JFAIL' at 2000-09-27-12:10:00.130 ## identifier
= number=0 process=14445


Disabling and re-enabling the printer gets things going again, for a while.

The jetdirects worked fine from a Data General Unix box. I also have RH 5.2, and 6.0 boxes printing to Jetdirects.

This seems to be a RH 6.2 issue, but I'm a bit stumped. Any suggestions would be appreciated.

Gord Belsey
1 REPLY 1
Albert E. Whale, CISSP
Honored Contributor

Re: Linux - printing to HP Jetdirect

By any chance have you reported this to RedHat or to http://www.astart.com/LPRng.html ??

I'm not sure what to suggest to you other than attempting an Updated RPM. The error you displayed is a Violation of RFC1179, here's the text for the RPM on RPMfind.net

"
The LPRng software is an enhanced, extended, and portable implementation
of the Berkeley LPR print spooler functionality. While providing the
same interface and meeting RFC1179 requirements, the implementation
is completely new and provides support for the following features:
lightweight (no databases needed) lpr, lpc, and lprm programs; dynamic
redirection of print queues; automatic job holding; highly verbose
diagnostics; multiple printers serving a single queue; client programs
do not need to run SUID root; greatly enhanced security checks; and a
greatly improved permission and authorization mechanism.
"

The latest release for LPRng for RedHat appears to be LPRng-3.6.22 available at http://rpmfind.net/linux/RPM/rawhide/1.0/i386/RedHat/RPMS/LPRng-3.6.22-3.i386.html

My suggestion, apply the newer LPRng rpm and enjoy the latest release.

Have a Great Day!
Sr. Systems Consultant @ ABS Computer Technology, Inc. http://www.abs-comptech.com/aewhale.html & http://www.ancegroup.com