LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-20-2005, 10:18 AM   #1
fopetesl
Member
 
Registered: Jan 2005
Location: Yorkshire Dales, UK
Distribution: Ubuntu 5.10; Mandriva 2007; Debian Lenny
Posts: 147

Rep: Reputation: 15
USB: Printer Not Ready


mdk10CE
kernel: 2.6.3-4mdk
HP Photosmart 7760 -and- HP Deskjet5550 USB printers, (not simultaneously).
Install 'new' printer with or without others installed.
Print OK.from Test Page and program.
Switch off printer at its power button.
Print request wakes up printer and again prints OK.

Unplug USB cable or power printer off.
Will not print at all even after reboot with printer powered up and USB cable connected.
lpq reports "printer not ready".

Only option is to remove and (re)install printer.
Words of wisdom welcome
 
Old 03-21-2005, 09:18 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Does this happen to both printers or just one of them.
 
Old 03-22-2005, 03:35 AM   #3
fopetesl
Member
 
Registered: Jan 2005
Location: Yorkshire Dales, UK
Distribution: Ubuntu 5.10; Mandriva 2007; Debian Lenny
Posts: 147

Original Poster
Rep: Reputation: 15
Both/any. Tried other printers also. TY
 
Old 03-22-2005, 05:22 PM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
This could be a distro specific problem. Try on alternativve distro (e.g. a live cd) to see if it is a problem with Mandrake or a something else.
 
Old 03-23-2005, 03:46 AM   #5
fopetesl
Member
 
Registered: Jan 2005
Location: Yorkshire Dales, UK
Distribution: Ubuntu 5.10; Mandriva 2007; Debian Lenny
Posts: 147

Original Poster
Rep: Reputation: 15
Maybe distro but the few problems people have posted relate to various distros.
But there is more than one way to skin cats.. (as I have discovered so far) ..
1st) Connect to http://localhost:631 where you can twiddle about with printer(s) settings.

2nd) If you don't like/want GUI then you can use :
Code:
/usr/bin/enable name_of_printer
you can find name_of_printer by using :
Code:
..userme]# /usr/bin/lpq
hpphotosmart7700 is ready
no entries
..userme]#
this last command also tells you the (apparent) status of the printer and if any jobs are in the print queue. More below on 'apparent' status. If something waiting in print queue you get detail. Now, 'apparent':
If the printer is powered down from the mains supply, not with front panel power button, or USB cable unplugged and you use
Code:
/usr/bin/enable name_of_printer
and immediately issue
Code:
..userme]# /usr/bin/lpq
hpphotosmart7700 is ready and printing
Rank  Owner     Job   File(s)                          Total Size
1st      userme   12    STDIN                          11748662 Bytes
..userme]#
it looks like the printer is OK and ready to go. Not so! Wait a couple of seconds and again try
Code:
..userme]# /usr/bin/lpq
hpphotosmart7700 is not ready
Rank  Owner     Job   File(s)                          Total Size
1st      userme   12    STDIN                          11748662
See.. printer isn't actually ready. The only time it seems that the printer is actually checked for status is when a print job is sent to it.
There must be an easier way to determine the status of the printer without having to go through this procedure every time.

Without any more tips I am stuck with getting crond to do period checks and I haven't delved into the mysteries of that command yet.

More words of wisdom?

(I searched around for a file which might indicate printer status, e.g. /tmp/files & /cups* directories: nada)
 
  


Reply


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
JetDirect printer is configured and ready but nothing prints pete_sim Linux - Newbie 0 12-12-2004 04:13 PM
USB flash drive not ready for a LONG time m_yates Debian 0 09-13-2004 11:27 AM
Olitec Speed'Com USB V92 Ready pat_le_fox Linux - Hardware 0 11-16-2003 08:39 AM
Printer not working, waiting for lp to become ready (offline ?) gdeckler Linux - Newbie 1 08-04-2003 07:14 PM
Windows sees printer as installed and ready, but won't print phishead Linux - Networking 17 04-08-2003 01:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:13 PM.

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