hpijs and hpcups drivers select wrong tray if default is set to CDDVDTray

Bug #786117 reported by Reinhold Kainhofer on 2011-05-21
This bug affects 3 people
Affects Status Importance Assigned to Milestone

Bug Description

Running hplip 3.11.3a and 3.11.5 on Ubuntu (natty).

There seems to be a bug in the filter code (for the Photosmart C5380 in my case, maybe also for other printers): If you set the default tray to CDDVDTray (in the system's printer config dialog or equivalently in the /etc/cups/ppd/printername.ppd file), then the filter will always try to use the photo tray rather than the CD/DVD tray...

Looking at an USB snoop, the filter really sends the PCL command <ESC>&l0H in that case rather than the correct <ESC>&l14H command, which selects the DVD tray.

If you choose any other tray as the default in the .ppd file and manually select the DVD tray in the print dialog, then the correct command <ESC>&l14H is sent.

This happens with both the hpijp and the hpcups filter.


Srikanth (srikanth-lokare) wrote :

Verified this Bug with HP Photosmart C5380 All-in-One printer on Ubuntu10.04 32bit OS using the latest HPLIP build internal build, print job from GNOME image viewer with default options, the filter use the CD/DVD tray to complete the job. This is expected behavior. But the print from hp-toolbox with default options, the filter use the photo tray to print.

Note: CD/DVD tray is set as default tray.

Tom Horsley (tom-horsley) wrote :

This isn't isolated to ubuntu either. See:


My DVD printing program designed specifically to allow printing without doing all kinds of printer and margins setup can now only print if I start with the wrong printer definition and manually do all the printer and margin setup. For me it is a C5580 printer, but the results are the same.

Tom Horsley (tom-horsley) wrote :

The latest fedora hplip package, hplip-3.11.5-1.fc14.x86_64, still has this problem. (I'm never sure if it was supposed to fix any given problem or not :-).

Tom Horsley (tom-horsley) wrote :

So I just tested an early TC2 version of fedora 16 beta, and it has hplip-3.11.7-2.fc16.x86_64 which still exhibits the same symptoms. So here is a question: Can someone point me to a place where I can hack the hpcups source code so that it *always* prints to the CD/DVD tray no matter what was specified? I'd be perfectly willing to swap in a hacked filter executable in place of the normal one when I am about to print a DVD :-).

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.