Bug 87407 - wrong tray HP hewlett packard laserjet 4000N omni print printer
wrong tray HP hewlett packard laserjet 4000N omni print printer
Status: CLOSED UPSTREAM
Product: Red Hat Linux
Classification: Retired
Component: Omni (Show other bugs)
8.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
Ben Levenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-03-26 13:18 EST by Bart van Kuik
Modified: 2007-04-18 12:52 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-03-26 18:03:36 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Bart van Kuik 2003-03-26 13:18:55 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312

Description of problem:
The printer Hewlett Packard LaserJet 4000N is a laserprinter with two trays.
Tray 1 is for manual feeding, tray 2 is the tray which is a drawer.

I used the Red Hat Printer Config to configure the printer but in the printer
options (fourth tab), the option 'Media Source' only shows two options: 'Tray 1'
and 'Env Feed'. 

Both have the same result: they send the job to the printer, which then whines
about wanting paper in the manual tray. There should be a third option, 'Tray 2'.

I worked around the problem by using Tray 1, editing the file 
/usr/share/foomatic/db/source/opt/omni-tray.xml
In line 1266, change:
<arg_defval>TRAY_TRAY_1</arg_defval>
into:
<arg_defval>TRAY_TRAY_2</arg_defval>

Then restart lpd.


Version-Release number of selected component (if applicable):
Omni-foomatic-0.7.0-6

How reproducible:
Always

Steps to Reproduce:
1. Open up Red Hat Printer Config
2. Add printer 'LaserJet 4000N', using the 'omni' driver.
3. Try to set the 'Media Source' option in the fourth tab, which only shows two
values: 'Tray 1' and 'Env Feed'. The actual printer has two trays, the first is
manual and the second is automatic (a drawer).
3. Try to print a test page. Printer will always ask for manual feed in tray 1.


Actual Results:  Not able to print using tray 2, the automatic tray.

Expected Results:  The 'Media Source' option of the Omni driver in the fourth
tab of the Red Hat Printer Config should have an extra value 'Tray 2'.

Additional info:

I worked around the problem by using Tray 1, editing the file 
/usr/share/foomatic/db/source/opt/omni-tray.xml
In line 1266, change:
<arg_defval>TRAY_TRAY_1</arg_defval>
into:
<arg_defval>TRAY_TRAY_2</arg_defval>

Then restart lpd.
Comment 1 Tim Waugh 2003-03-26 13:25:32 EST
You should be able to fix this by adding:

        <constraint sense='true'>
          <driver>omni-compiled</driver>
          <printer>printer/HP-LaserJet_4000_4000N</printer>
        </constraint>

into the
     <enum_val id='TRAY_TRAY_2'>
      <ev_longname><en>Tray 2</en></ev_longname>
      <ev_shortname><en>Tray2</en></ev_shortname>
      <ev_driverval>TRAY_TRAY_2</ev_driverval>
      <constraints>
        ...

section.

Omni 0.7.3 still has this problem.
Comment 2 Tim Waugh 2003-03-26 18:03:36 EST
Reported upstream as:
http://sourceforge.net/mailarchive/forum.php?thread_id=1884939&forum_id=2640

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