Comment 10 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. I checked the 3.18.7 PPDs and found out that the problem is still
not fixed. The root issue is that the PPD does not define the
DefaultResolution parameter which causes CUPS to use a default of 300dpi.

So the problem is that the
*DefaultResolution: 600x600dpi
line is still missing from the PPD which I pointed out already at the
beginning of this thread.

It turns out that a lot of PPDs are missing this line:

$ ( pwd ; zgrep -o DefaultResolution *ppd* | wc -l ; ls -l | wc -l )
~/hplip-3.18.7/prnt/ps
     256
     339

As you can see, there are 339 PPD files in the prnt/ps directory and only
256 of them contain a DefaultResolution line. Probably the other ones also
will have a similar bug if the printer supports more than the CUPS default
of 300dpi

I therefore kindly ask you to add the DefaultResolution line to the PPD. If
you point me to a place where I can submit a Pull Request I will gladly do
so. Unfortunately neither the Sourceforge nor the Launchpad project seem to
contain the source code repo.

On Thu, 6 Sep 2018 at 11:55, gf <email address hidden> wrote:

> Hi Schlomo,
> I think the latest version of hplip is 3.18.7 from August 2018 and can be
> found here:
> https://launchpad.net/ubuntu/+source/hplip/3.18.7+dfsg1-1
>
> There is also the ability to download it directly from HP:
> https://developers.hp.com/hp-linux-imaging-and-printing
>
> click "Download HPLIP"
> In the drop-down list, pick "Ubuntu"
> Or, if you are familiar with tar, there are advanced options at the bottom
> of that same page for downloading actual files.
>
> Hope this helps
> :)
> G
>
> --
> 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
>