Comment 66 for bug 235399

Revision history for this message
mtom (thloh) wrote :

Hi David,

I'm also using Lucid and suffer from the same problem. After looking over Till's patch I found out, you can fix it easily for yourself by making some adjustments to one file and resetup your printer. I'll describe it in detail for my case. I'm using a HP OfficeJet 5600.

First, open the file /usr/share/cups/drv/hpijs.drv in your favourite text editor.
Then, we need to find the real device for your model, in my case, I searched for "Officejet 5600" an the scrolled upwards to find the beginning of a definition like this

//////////////////////// DJ3600
{

So I know now, my printer is actually a kind of DeskJet 3600.

If you go down a few lines, you will see some attribute definitions. Look for "FoomaticRIPOptionSetting" and "PrintoutMode=..."
The "PrintoutMode" is what you want to adjust.

For example:

Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Normal" "Quality=300ColorCMY"

Edit this line and add a "K" for "blacK" add the and of the quality setting so it reads like this:

Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Normal" "Quality=300ColorCMYK"

Repeat this step with all other printout setting, which are missing the "K". My attributes look like the following:

  Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Draft" "Quality=300DraftColorCM&&
YK"
  Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Draft.Gray" "Quality=300DraftGr&&
ayscaleK"
  Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Normal" "Quality=300ColorCMYK"
  Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Normal.Gray" "Quality=300Graysc&&
aleK"
  Attribute "FoomaticRIPOptionSetting" "PrintoutMode=High" "Quality=600ColorCMYK"
  Attribute "FoomaticRIPOptionSetting" "PrintoutMode=High.Gray" "Quality=600Grayscal&&
eK"

The "&&" is some kind of line continuation sign. Just add the "K" in the next line.

Save the file, delete your printer and re-setup it again. It should now print using both cartridges.

If you would like to adjust the textual lines for printout mode in cups you could do this in the section of your printer, too.

Search for "Choice", of course in the section of your printer device only, and edit the labels. Mine are

    Option "PrintoutMode/Printout Mode" PickOne AnySetup 10.0
      Choice "Draft/Draft (Black and color cartridge)" "%% FoomaticRIPOptionSetting: PrintoutMode=Draft"
      Choice "Draft.Gray/Draft Grayscale (Black cartridge)" "%% FoomaticRIPOptionSetting: PrintoutMode=Draft.Gray"
      *Choice "Normal/Normal (Black and color cartridge)" "%% FoomaticRIPOptionSetting: PrintoutMode=Normal"
      Choice "Normal.Gray/Normal Grayscale (Black cartridge)" "%% FoomaticRIPOptionSetting: PrintoutMode=Normal.Gray"

My printer works flawlessly since then. Hope, I could help.

Regards
Thomas