LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 05-15-2008, 11:19 AM   #1
OOsorio
LQ Newbie
 
Registered: Jan 2008
Posts: 13

Rep: Reputation: 0
Cool 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?
 
Old 05-15-2008, 03:36 PM   #2
cmnorton
Member
 
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Rep: Reputation: 35
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.
 
Old 05-15-2008, 05:39 PM   #3
OOsorio
LQ Newbie
 
Registered: Jan 2008
Posts: 13

Original Poster
Rep: Reputation: 0
Cool

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.
 
Old 05-15-2008, 06:06 PM   #4
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546

Rep: Reputation: 57
Quote:
Originally Posted by OOsorio View Post
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
 
Old 05-16-2008, 07:16 AM   #5
cmnorton
Member
 
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Rep: Reputation: 35
CUPS Interface on Red Hat Systems

Quote:
Originally Posted by OOsorio View Post
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.
 
  


Reply

Tags
printing


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
CUPS printers disable turbo_acura Linux - Software 1 07-04-2007 11:41 PM
dbx command for corrosponding commands disable or disable on gdb bshankha AIX 0 09-26-2006 10:38 AM
what are the services i can disable, also disable ads, banners in konqueror? greythorne SUSE / openSUSE 3 03-16-2005 09:30 AM
Why do I need to be Superuser to enable or disable printers? LostInFog Linux - General 4 02-18-2005 01:31 PM
recommendation on photo printers and general purpose printers raminolta Linux - Hardware 3 01-21-2004 01:27 PM


All times are GMT -5. The time now is 10:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration