JetDirect and lpq

JetDirect and lpq

Post by Walter F. Bisch » Sun, 12 Jan 1997 04:00:00

I am using an HP4 with JetDirect card and the following entry in


Printing works OK, but when I do an "lpq -Phpdirect" while the printer
is printing a file, lpq simply hangs until the job is done, then returns
"no entry". What may cause this "unhelpful" behavior?

I am using RedHat 4.0. The printer also gets files from a Sun workstation
running HP JetAdmin. No problem with lpq there.

Thanks for your help.

Walter F. Bischof

Psychology BSP-577                WWW:
University of Alberta             Tel: +1 403 492 5275
Edmonton, T6G 2E9, Canada         Fax: +1 403 492 1768


1. lpq and Linux-->HP JetDirect lpd -- how can I make them behave?

We have an HP 4si/mx to which we are trying to print from Linux.  Our
Linux box (Redhat 3.03 running plp and samba) also acts as an SMB print
server for our Windows '95 users.

I am currently trying to print using lpd/lpr with the following entry in
our /etc/printcap file:


Everything works fine until the printer tries to do two things at once.
For instance, we can do an "lpq" command and if a job is printing, the
printer won't accept the status query.  Often something will time out
and we'll get a "Warning: queue is not active (no server present)" message
and "Remote connect to 'raw' (acdps3) failed: Connection refused".

I would use netatalk to talk to the printer, but our Windows '95 machines
tend to send escape sequences to control printer options which don't seem
to be handled properly by netatalk/pap.

Does anyone have any advise?  Is there a fix for JetDirect to allow it to
handle multiple TCP/IP connections?

Thanks in advance.

  NCAR/ACD Unix Systems Administration

2. Remote printing from HP to SUN

3. HP JetDirect attentiveness and lpq lockup

4. Attention! This is a survey! Please answer them, thanx!

5. lpq to jetdirect printer fails to connect

6. Installing with vt102 serial console: Stop(L1)-A?

7. Matrox Mystique ands X.

8. xdm fails at startup

9. JetDirect software without jetdirect print server

10. lpq/lpstat reporting the wrong jobs

11. lpq: No daemon present

12. print error when running 'lpq'

13. "lpq: <HP PSC 1510 printer> is not ready"