Skip to content

schlomo/HP-Color-LaserJet-flow-MFP-M880

Repository files navigation

HP-Color-LaserJet-flow-MFP-M880

Fixing color printing support in Chrome on Linux for HP M880, solves Chrome Bug 1035009 for the HP Color LaserJet flow MFP M880 printer. The effect of this printer driver is that the Chrome browser shows the Color/Black and White toggle in the print preview:

browser preview

With the original printer driver the Chrome browser (and potentially all Chromium based browsers) on Linux cannot print in color, only in grayscale. While one can use the system printing dialog as a workaround, it is inconvenient to do so and the system printing dialog doesn't show a preview of the printout as the browser printing dialog.

The root cause are hard coded strings in the Chrome printing stack that match only for some HP printer drivers, while other HP printer drivers simply use other strings for the same thing. Chrome wants to offer the user a simplified configuration for printing, but for that Chrome needs to parse and understand all printer drivers. Sadly the printer drivers on Linux don't follow any standard in their internal structure, so that the Chrome developers had to add a lot of code to deal with the printer drivers of all the printer vendors.

The PPD file found here solves the problem because it simply uses the names for color and grayscale that Chrome already supports. As a result the printer configuration user interface also changes:

Original Print Driver original

Fixed Print Driver fixed

To install simply download HP-M880-Chrome-Color-Print.ppd and use it as a custom PPD in the printer configuration.

About

Color Printing in Chrome for HP M880

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published