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.
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.
Reported upstream as: http://sourceforge.net/mailarchive/forum.php?thread_id=1884939&forum_id=2640