Bug 87407 - wrong tray HP hewlett packard laserjet 4000N omni print printer
Summary: wrong tray HP hewlett packard laserjet 4000N omni print printer
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: Omni
Version: 8.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-03-26 18:18 UTC by Bart van Kuik
Modified: 2007-04-18 16:52 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2003-03-26 23:03:36 UTC
Embargoed:


Attachments (Terms of Use)

Description Bart van Kuik 2003-03-26 18:18:55 UTC
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 18:25:32 UTC
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 23:03:36 UTC
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.