Comment 14 for bug 1385055

Revision history for this message
Schlomo Schapiro (sschapiro) wrote : Re: [Bug 1385055] Re: HP Officejet Pro X476dw MFP prints in 300dpi

Thanks! Can you link here the upstream bug report and fix once it is there?

What about the other PPDs that don't set a default resolution? I would
suppose that they suffer from the same problem if the printer supports more
than 300dpi.

On Sun, 9 Sep 2018 at 02:29, gf <email address hidden> wrote:

> OK, thanks for the update, Schlomo. I think there is enough information
> in this report now that it can be send to the programmers. For their
> ease, I will add a summary here. Please feel free to add any
> corrections.
>
> -----------------------
> SUMMARY:
> Ubuntu version 16.04 and 18.04
>
> Problem is reproducable by the bug reporter.
> Printer is HP Officejet Pro X476dw MFP.
>
> Notes:
> Printing documents with Hebrew fonts results in low quality with fuzzy
> lines (default CUPS converts the print job to a 300dpi PS before giving it
> to the hp driver)
>
> Expected behaviour: documents print at 600 dpi
> Actual behaviour: documents are printing at 300 dpi
>
> Additional notes:
> Bug reporter is in Ubuntu 16.04 but has checked the latest PPD file
> (v3.18.7) and issue still exists. “The PPD does not define the
> DefaultResolution parameter which causes CUPS to use a default of 300dpi.”
>
> Solution:
> Add to the PPD for this printer: the DefaultResolution parameter. For
> example:
> *DefaultResolution: 600x600dpi
> -----------------------
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1385055
>
> Title:
> HP Officejet Pro X476dw MFP prints in 300dpi
>
> Status in HPLIP:
> Incomplete
> Status in hplip package in Ubuntu:
> Incomplete
>
> Bug description:
> Running Ubuntu 14.04 running stock hplip 3.14.3
>
> Printer HP Officejet Pro X476dw MFP
>
> hp-check -t output is attached
>
> Problem:
>
> Initially I noticed that printing documents with Hebrew fonts results
> in low quality with fuzzy lines. After some debugging I was able to
> trace this down to the fact that by default CUPS converts the print
> job to a 300dpi PS before giving it to the hp driver:
>
> D [24/Oct/2014:07:22:01 +0200] [Job 261] Printer make and model: HP HP
> Officejet Pro X576dw MFP
> D [24/Oct/2014:07:22:01 +0200] [Job 261] Running command line for
> pstops: pstops 261 schlomo hebrew-test.pdf 1 'finishings=3
> media=iso_a4_210x297mm output-bin=face-down print-color-mode=color
> print-quality=4 sides=one-sided
> job-uuid=urn:uuid:c1da9224-d10b-3c2f-6a99-487121b8864c
> job-originating-host-name=localhost time-at-creation=1414128121
> time-at-processing=1414128121 Duplex=None PageSize=A4'
> D [24/Oct/2014:07:22:01 +0200] [Job 261] No resolution information found
> in the PPD file.
> D [24/Oct/2014:07:22:01 +0200] [Job 261] Using image rendering
> resolution 300 dpi
> D [24/Oct/2014:07:22:01 +0200] [Job 261] Running command line for gs: gs
> -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=ps2write -sOUTPUTFILE=%stdout
> -dLanguageLevel=3 -r300 -dCompressFonts=false -dNoT3CCITT -dNOINTERPOLATE
> -c 'save pop' -f /var/spool/cups/tmp/066575456f596
>
> I was able to fix the problem by adding this resolution setting to the
> PPD:
>
> *DefaultResolution: 600x600dpi
>
> As a result the print job is converted at 600dpi instead of 300dpi
> which leads to the expected good result:
>
> D [24/Oct/2014:07:22:33 +0200] [Job 262] Printer make and model: HP HP
> Officejet Pro X576dw MFP
> D [24/Oct/2014:07:22:33 +0200] [Job 262] Running command line for
> pstops: pstops 262 schlomo hebrew-test.pdf 1 'Duplex=None finishings=3
> media=iso_a4_210x297mm output-bin=face-down print-color-mode=color
> print-quality=4 sides=two-sided-long-edge
> job-uuid=urn:uuid:83e69459-c350-37e5-417d-9ca00f8c6bd9
> job-originating-host-name=localhost time-at-creation=1414128153
> time-at-processing=1414128153 PageSize=A4'
> D [24/Oct/2014:07:22:33 +0200] [Job 262] Using image rendering
> resolution 600 dpi
> D [24/Oct/2014:07:22:33 +0200] [Job 262] Running command line for gs: gs
> -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=ps2write -sOUTPUTFILE=%stdout
> -dLanguageLevel=3 -r600 -dCompressFonts=false -dNoT3CCITT -dNOINTERPOLATE
> -c 'save pop' -f /var/spool/cups/tmp/0666d544aec68
>
> I think that the PPD is broken because it does not specify a
> resolution.
>
> It would be nice if the PPD could be fixed.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/hplip/+bug/1385055/+subscriptions
>