Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-15-2008, 10:19 AM
|
#1
|
LQ Newbie
Registered: Jan 2008
Posts: 13
Rep:
|
Printers disable by themselves
On occasions a print job does not come out on a printer. lpstat -u shows the jobs waiting to be printed and lpstat -t shows the printer as disabled with a time out of some sort.
cupsenable enables the printer and the job comes out on the printer.
What could be causing the printer to become disabled and is there a setting that can be modified to avoid this happening in the future?
|
|
|
05-15-2008, 02:36 PM
|
#2
|
Member
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585
Rep:
|
More info
What is your distribution?
I am assuming CUPS is running.
What do the logs say?
You could have the wrong driver installed for the printer. The fact you eventually get a completed print job probably indicates the connection is good.
I did have to restart CUPS on a Red Hat system, because it did not like finding a published printer on another system. Given CUPS had to be restarted on an important production system, I unpublished the printers on the offending system, and all is now well.
|
|
|
05-15-2008, 04:39 PM
|
#3
|
LQ Newbie
Registered: Jan 2008
Posts: 13
Original Poster
Rep:
|
Red Hat Enterprise 4.5
CUPS is running
Message: Remote host did not respond with command status byte after 300 seconds!
Red hat enterprise has many HP drivers but it does not have one for the HP LJ 2420. I was using generic PCL 5e and just changed it to generic PCL 6. That's how our windows server has it defined.
The printer is connected to a Jet Direct box and is defined in two other servers: Windows 2003 and SCO Unix.
We'll see if changing the driver helps, if not I'll remove the printer from the other boxes and post the results.
|
|
|
05-15-2008, 05:06 PM
|
#4
|
Senior Member
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561
Rep:
|
Quote:
Originally Posted by OOsorio
Red Hat Enterprise 4.5
CUPS is running
Message: Remote host did not respond with command status byte after 300 seconds!
Red hat enterprise has many HP drivers but it does not have one for the HP LJ 2420. I was using generic PCL 5e and just changed it to generic PCL 6. That's how our windows server has it defined.
The printer is connected to a Jet Direct box and is defined in two other servers: Windows 2003 and SCO Unix.
We'll see if changing the driver helps, if not I'll remove the printer from the other boxes and post the results.
|
A package for HP that works well is : printconf
It configures the hp itself. The LJ could be got from the linuxprinting
|
|
|
05-16-2008, 06:16 AM
|
#5
|
Member
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585
Rep:
|
CUPS Interface on Red Hat Systems
Quote:
Originally Posted by OOsorio
Red Hat Enterprise 4.5
CUPS is running
Message: Remote host did not respond with command status byte after 300 seconds!
Red hat enterprise has many HP drivers but it does not have one for the HP LJ 2420. I was using generic PCL 5e and just changed it to generic PCL 6. That's how our windows server has it defined.
The printer is connected to a Jet Direct box and is defined in two other servers: Windows 2003 and SCO Unix.
We'll see if changing the driver helps, if not I'll remove the printer from the other boxes and post the results.
|
I have found I must use the CUPS interface or command line on RH EL systems. This is especially true for older print servers that do not default to port 9100. Using Red Hat's configuration results in the printers using those print servers to have their port numbers change to 9100. Stick with CUPS or the HP configuration mentioned.
|
|
|
All times are GMT -5. The time now is 12:42 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|