Originally posted by: SystemAdmin
Normally I consider JetDirect queues to be more reliable than LPR/LPD queues in that they don't continuosly go down when there is a timeout and they seem to recover more easily. The code that is run 'piohpnpf' comes from HP and is a pretty simple network socket program. It doesn't really support two way status and all of that though.
Are these really HP JetDirect printers, or are you using this software for other printers? This can often be an issue. Normally you should not see this problem with HP printers as they won't drop the connection. Have you determined if this is happening when the printer is out of paper or ink, or is this related to other unknown issues. It seems strange that this many problems should be occuring with JetDirect printers.
If you have problems getting the queue to go down, sometimes it is easier to kill the piohpnpf application that is sending data to the printer. When a queue is printing, there is a file in the /var/spool/lpd/stat directory that starts with a p.queue.quedev. This contains the PID of the piobe or whatever backend process is controlling that queue. If you kill this PID, it will take down the queue and all the programs running and the rest of the jobs will remain queued. I think the current job will remain queued also.
Some years ago, I wrote a backend that actually restarted rembak jobs when the queue went down, but this may be included today. I haven't checked lately as I don't do a lot of printing anymore.
LAIX Software at the following URL may have a custom solution at a low price that would give you a backend that did an automatic restart. A lot of customers have seemed to have had good success with these solutions.
http://mysite.verizon.net/resobxkm/index/ John Tesch - Redbook author so blame me if things are wrong there.
#AIX-Forum