Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 85797 - when trying to change configuration, print manager reports "tray empty"
when trying to change configuration, print manager reports "tray empty"
Product: Red Hat Linux
Classification: Retired
Component: cups (Show other bugs)
athlon Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2003-03-07 16:01 EST by Elton Woo
Modified: 2007-04-18 12:51 EDT (History)
1 user (show)

See Also:
Fixed In Version: 1.1.19-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-05-29 17:38:11 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Elton Woo 2003-03-07 16:01:06 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030221

Description of problem:
While printing, I attempted to change the printer configuration via
printman. This returns an erroneous message: "tray empty".

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Send a job to print, and *while the job is printing*
2. Start Print Manager
3. Try changing the printer, and / or printer options

Actual Results:  Printman reports "tray empty!"

Expected Results:  Printman should say: "printer IN USE"

Additional info:

If this message is sent from a remote printer (mine is local),
it would be "mis-informative".
Comment 1 Tim Waugh 2003-03-07 16:29:22 EST
This message originates in CUPS.  I've seen it too actually.
Comment 2 Tim Waugh 2003-03-07 16:32:33 EST
USB printer?  Now that I look this seems to be due to the kernel:

  if (ioctl(fd, LPGETSTATUS, &status) == 0)
    fprintf(stderr, "DEBUG: LPGETSTATUS returned a port status of %02X...\n",
    if (status & LP_NOPA)
      fputs("WARNING: Media tray empty!\n", stderr);
    else if (status & LP_ERR)
      fputs("WARNING: Printer fault!\n", stderr);
    else if (status & LP_OFFL)
      fputs("WARNING: Printer off-line.\n", stderr);

So perhaps the kernel is returning the wrong values?

I've seen this message with a USB-connected HP DeskJet 990C.  What printer are
you using, and with what connection?
Comment 3 Elton Woo 2003-03-07 17:00:38 EST
I am using a Lexmark Z53 connected via an Atmel 4-port USB hub. Default kernel 
is kernel-2.4.20-2.48 and I am currently logged in using kernel-2.4.20-2.54. The problem 
occurs with either kernel. I keep switching between these kernels due to ongoing problems 
with CD burning. 
Comment 4 Tim Waugh 2003-05-28 05:30:15 EDT
Think this might be fixed in CUPS 1.1.19.
Comment 5 Elton Woo 2003-05-28 11:44:07 EDT
now the Printer Configuration app (print manager) just hangs with the message: 
"Loading printer information, Please wait..." (and wait, and wait, and *wait*.....).  
I'm forced to kill the print manager session. This happens either when loading 
_during_ a print job, or without any print job in the queue. 
kernel-2.4.20-9.athlon.rpm in now the default, with the following package 
Comment 6 Tim Waugh 2003-05-28 12:38:14 EDT
What version of redhat-config-printer?  Run it from the command line.
Comment 7 Elton Woo 2003-05-29 15:26:28 EDT
I did a clean reinstall of the sytem, and print configuration works ok now with 
redhat-config-printer-0.6.47-1, cups-libs-1.1.17-13, cups-1.1.17-13. The sluggishness 
may have been caused by other packages that I had installed from rawhide. (...sorry about 

Note You need to log in before you can comment on or make changes to this bug.