The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SCO
.
google unix.com



SCO Santa Cruz Operation (SCO) was a software company based in Santa Cruz, California which was best known for selling three UNIX variants for Intel x86.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Print Queue jobs stuck mizzleman HP-UX 3 07-02-2008 08:52 PM
Print to ps2pdf print queue Sean_69 SUN Solaris 2 10-22-2007 11:00 AM
Print to a ps2pdf print queue. Sean_69 UNIX for Dummies Questions & Answers 1 10-22-2007 10:58 AM
AIX 5 print queue chefsride AIX 0 08-04-2006 10:01 AM
jobs stalled in remote print queue antalexi UNIX for Advanced & Expert Users 0 08-03-2004 12:07 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-16-2007
iNetForce iNetForce is offline
Registered User
  
 

Join Date: Apr 2007
Posts: 9
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 (permalink)  
Old 04-16-2007
jgt jgt is offline
Registered User
  
 

Join Date: Apr 2007
Location: 44.21.48N 80.50.15W
Posts: 450
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 (permalink)  
Old 04-18-2007
iNetForce iNetForce is offline
Registered User
  
 

Join Date: Apr 2007
Posts: 9
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 (permalink)  
Old 04-18-2007
jgt jgt is offline
Registered User
  
 

Join Date: Apr 2007
Location: 44.21.48N 80.50.15W
Posts: 450
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 (permalink)  
Old 04-18-2007
iNetForce iNetForce is offline
Registered User
  
 

Join Date: Apr 2007
Posts: 9
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 (permalink)  
Old 04-19-2007
jgt jgt is offline
Registered User
  
 

Join Date: Apr 2007
Location: 44.21.48N 80.50.15W
Posts: 450
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.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:34 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0