Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing problem. Help please?

Status
Not open for further replies.

bisware

Programmer
Oct 27, 2006
3
NL
Hello,

We have a unix openserver 5.0.6
and we print to a network printer with ip-adres 192.168.2.240

some time printjobs are not comming out. Then i run lpstat -a L3
and i get the message:
lpstat: lost connection with 192.168.2.240
i can ping the address and get response but i can't print.
with lpstat -o L3 i can see all my print jobs. and i get a message sending to 192.168.2.240

I tried disabling and enabling L3.
i tried lpshut and lpsched. nothing works. the only thing i can do is delete the printer and create a new one. Then everything works fine again for a while.

Has anybody had this problem before?

 
Which method are you using to print to that IP address?
Is it HPNP, LPR/LPD, netcat, ???
The troubleshooting steps differ, so we need to start there.
Also, can you tell us what device is sitting at that IP address (Make/Model). Is that the same subnet as for the SCO box, or is it across a router?


"Proof that there is intelligent life in Oregon. Well, Life anyway.
 
we use LPR/LPD for printing.
We have the problem with different versions of a hawking printserver.
Also it doesn't matter if it is across routers or in the same subnet. But in this case the ip of the server is 192.168.1.2


 
SCO is pretty weak with LPR/LPD printing. The next time you get the symptom, instead of removing and reinstalling the printer, try this:

# kill `head -1 /usr/spool/lpd/L3/lock`
# echo "Printer has been reset"|lp -dL3

If it works, all the pending jobs will print, followed by a little 1-liner (Printer has been reset). This basically kills the LPD child process which is confused and starts a new one to process that directory. For most of our Clients, I save those 2 commands as a script they can run (i.e. L3.reset).




"Proof that there is intelligent life in Oregon. Well, Life anyway.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top