Print jobs getting stuck on the queue


 
Thread Tools Search this Thread
Operating Systems SCO Print jobs getting stuck on the queue
# 1  
Old 04-16-2007
Print jobs getting stuck on the queue

I have implemented Laser printers using USB printer servers connected to a SCO server. Sometimes print jobs get stuck on the queue and I havent found a way of getting the printer back to work without canceling the jobs and rebooting the system.

Why jobs get stuck?
How do I get this solved without canceling and rebooting?
# 2  
Old 04-16-2007
Try /usr/lib/lpshut to stop the print service , and then /usr/lib/lpsched to restart it, rather than rebooting the system, after canceling the job that still shows as on the printer in lpstat -t.
Are you using PCL print commands?
Do all the print files have CRLF line termination?
Do you have <esc>&k2G in the escape sequence (turns LF into CRLF)?
# 3  
Old 04-18-2007
Yes, I we are using PCL print commands, however, i am not sure about CRLF. Today the jobs got stuck again, i stopped and started print services before and after deleting the jobs but it did not do anything, I had to cancel all the jobs and restart the server.

I'm not sure about these two:
Do all the print files have CRLF line termination?
Do you have <esc>&k2G in the escape sequence (turns LF into CRLF)?

How do I get that information?
# 4  
Old 04-18-2007
Printer Model

Are you using the HPLaserJet printer model?
Are you sending raw and text files to the printer?
To find the contents of the print files add a 'cp' statement to the driver file in /usr/spool/lp/admins/lp/interfaces to save a copy somewhere, then examine the file using 'vi' or whatever.
Also see what escape sequences the printer model might add to the print stream though echo statements.
# 5  
Old 04-18-2007
Quote:
Originally Posted by jgt
Are you using the HPLaserJet printer model?
Are you sending raw and text files to the printer?
To find the contents of the print files add a 'cp' statement to the driver file in /usr/spool/lp/admins/lp/interfaces to save a copy somewhere, then examine the file using 'vi' or whatever.
Also see what escape sequences the printer model might add to the print stream though echo statements.

Yes, I'm using HPLaserJet and printing text files only.
# 6  
Old 04-19-2007
Its not likely that the problem is caused by the content. Can you try the following. Connect the printer to a networked workstation running MS Windows and then set up the printer on SCO as a network printer, using either VisionFS or Samba. Then even if the problem still occurs you will not have to reboot the server, and if it doesn't recur you can probably assume the problem is somewhere in the usb driver or the firmware.
# 7  
Old 04-19-2007
Another piece of equipment had the same IP address that is why this whole conflict was taking place Smilie Thank you guys for your help!


Another problems that I am having is related to a corrupted driver on this same machine.
The HPLaserJet driver stopped working, I had to use DECLaser3250? Everything works fine with DECLaser driver. It is weird because nothing stays on the queue if I use HPLaserJet it looks like everything is printing but is not. If you use a different driver than HPLaserJet it works fine. Is there a way of reinstalling this driver?

Last edited by iNetForce; 04-19-2007 at 12:32 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Print jobs stuck in queue

Hi, have an aix system with something I've never seen happening. All printers are not printing. I see jobs Queued and printer status as READY but jobs just keep getting queued and nothing's printing. Seems to be a system wide problem since it's affecting all printers. Help... (2 Replies)
Discussion started by: flash88
2 Replies

2. UNIX for Dummies Questions & Answers

Sco Unix printing : jobs hangs in queue - printing via lp versus hpnpf

Hi, We have a Unix 3.2v5.0.5. I installed a printer via scoadmin, HP network printer manager with network peripheral name (hostname and ipadres are in /etc/hosts). This is the configuration file : Code: root@sco1 # cat configurationBanner: on:AlwaysContent types: simpleDevice:... (0 Replies)
Discussion started by: haezeban
0 Replies

3. UNIX for Advanced & Expert Users

[Solved] remove all print jobs from a print queue

Hello, Sometimes i need to clear all the jobs of a print queue and it is really annoying to cancel one by one. Is there a way to cancel all print jobs for a specific print queue with a single command instead of cancelling them one by one? My AIX system is 5.3 Thank you for your attention (2 Replies)
Discussion started by: omonoiatis9
2 Replies

4. Programming

Please help:program hang stuck there signal handling on POSIX Message Queue UNIX C programming

in a single main() function,so need signal handling. Use Posix Message Queue IPC mechanism , can ignore the priority and other linked list message,to implement the scenario: client:Knock Knock server:who's there client: Eric Server:Eric,Welcome. client:exit all process terminated ... (1 Reply)
Discussion started by: ouou
1 Replies

5. Shell Programming and Scripting

print queue jobs

Hi, i m having problem to get number of jobs waiting using lpstat.my printer is out of paper and 10jobs are in queue but i run lpstat -pqname it didnt show any thing.any one have idea whats wrong here. thanks sagii (2 Replies)
Discussion started by: sagii
2 Replies

6. Shell Programming and Scripting

print queue jobs

Hi, I have one queue that have status QUEUE and 10 jobs are waiting.Can any one guide me how i can get total number of jobs on this queue.i can see 10 jobs but i need to get count 10 for this queue.Please help me out thanks in advance sagii (2 Replies)
Discussion started by: sagii
2 Replies

7. HP-UX

Print Queue jobs stuck

Hello, I have a print queue that the jobs are getting stuck in. I've disabled and enabled the queue, lpshut and lpsched the print spooler, and killed a suspected corrupt job. But new requests still get stuck. I can ping the printer by DNS with no problem. What else can I look for? I'm a little... (3 Replies)
Discussion started by: mizzleman
3 Replies

8. Solaris

Print to ps2pdf print queue

I am trying to create a printer queue, on a SunOS 5.7 system, that outputs a pdf file. There is an application running on the system that has a print button, which sends print files to the default printer. If I disable the printer, I am able to manually capture the files in /var/spool/lp/tmp and... (2 Replies)
Discussion started by: Sean_69
2 Replies

9. UNIX for Dummies Questions & Answers

Print to a ps2pdf print queue.

I am trying to create a printer queue, on a SunOS 5.7 system, that outputs a pdf file. There is an application running on the system that has a print button, which sends print files to the default printer. If I disable the printer, I am able to manually capture the files in /var/spool/lp/tmp and... (1 Reply)
Discussion started by: Sean_69
1 Replies

10. UNIX for Advanced & Expert Users

jobs stalled in remote print queue

I have a printer in another state that is setup as follows: lj8100 printer connected to their printserver (a w2k box); users connect to a unix app on our Sun server via Exceed (we are two states away via WAN); users submit print jobs through an established print queue through the unix app to... (0 Replies)
Discussion started by: antalexi
0 Replies
Login or Register to Ask a Question