Try this:
cat file | /usr/lib/lpd/pio/etc/piohpnpf -x PRINTERHOSTNAME
Or, you can examine the print queue backend script piojetd and perhaps put
some stuff at the top to see if its being invoked at all, like:
#!/bin/ksh
set -x
exec 2> /tmp/error_log
....rest of script...
So you can capture any errors coming from things called by piojetd. If I had to
hazard a guess if nothing ever goes across the network, either piojetd or piohpnpf
isn't there, or it's name resolution.
You could also try our TCPrint backend program: http://www.flash.net/~laixsoft
as it has some helpful diagnostic logging abilities.
Best regards,
Paul Laymon
> I can ping and telnet into the devices -
> all with their static/assigned addresses -
> but good point :)
> also....
> another bit of info -
> I put the protocol analyzer online and watched it -
> I could see the ping and telnet -
> but NOTHING during the LP attempt -
> in other words -
> it's not a touch and printer barf situation,
> nothing at all comes out of the 6000 -
> it must be failing due to some type of corruption
> in one of the printer/jetdirect files on the 6000.
> Phil -
> says...
> >Did someone bring up a BOOTP server and change the ip addresses of the
> >JetDirects?
> >> all of a sudden -
> >> our laser print Qs are down, and will not come back up -
> >> these have been running fine for months ??
> >> they have HP jetdirect or IBM cards.
> >> we start them - and they go down with these msgs -
> >> I tried it on all 4 of them -
> >> the other external print servers are running fine -
> >> any ideas - ?
> >> Phil -
> >> ---
> >> Printer Queue - dsp5si - Restarted
> >> Message from root on dsprs6000 (UNKNOWN) [Wed Aug 19 15:50:03 CDT 1998] ...
> >> Message from queueing system:
> >> Backend: /usr/lib/lpd/pio/etc/piojetd dsplp48 9100 /home/phil/.profile
> >> Backend Exit Value: EXITFATAL (0100)
> >> Job Submit Time: Aug 19 15:03:33 1998, Current Time: Aug 19 15:50:03 1998
> >> Use local problem reporting procedures.
> >> <EOT>
> >--
> >"Every day is a good one - some are just better than others"
> >Dennis Matzen, CAD Systems Manager
> >City of Medford, Fire Department
> >Ph (541) 774-2323 Fax (514) 774-2514
> >Web: http://www.ci.medford.or.us/fire/fire.html