Pdf.js: Pdf not printing properly in chrome browser.

Created on 17 Jan 2017  路  5Comments  路  Source: mozilla/pdf.js

Link to PDF file (or attach file here):

Configuration:

  • Web browser and its version: Chrome & 35
  • Operating system and its version: Windows 10
  • PDF.js version: pdfjs-1.6.210-dist version
  • Is an extension:
    msgfile.pdf

Steps to reproduce the problem:

  1. We tried printing in mozilla firefox and found working fine with the attached pdf but fails in chrome.
  2. Print is blur and not redable in chrom browser.

What is the expected behavior? (add screenshot)
Please provide as solution or provide us the link to download the pdf.js developer version.

What went wrong? (add screenshot)
print is blur in chrome.If we print through pdf.js

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

4-chrome-specific 4-printing

All 5 comments

Could you add a screenshot of the bad and good rendering for comparison?

Hi Tim,

We verified in both chrome 35 and 55 versions and found print is appearing blur.

msgfile_printedwithchrome55.pdf

Please find the attached printed file from chrome for your reference.

Thanks,
Madhavan

Looks good to me in the Chrome extension, PDF.js 1.6.293 in 55.0.2883.75.

710872.pdf

I think that the difference in behavior is caused by #7697. So try the latest master version of PDF.js and the print quality will likely improve.

I observed the same issue on Chrome when GPU acceleration is not available (see chrome://gpu). With GPU acceleration available, printing quality is perfect.

With the master version of PDF.js printing quality is good with or without GPU acceleration.

Thank you. Closing as fixed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

azetutu picture azetutu  路  4Comments

sujit-baniya picture sujit-baniya  路  3Comments

liuzhen2008 picture liuzhen2008  路  4Comments

dmisdm picture dmisdm  路  3Comments

hp011235 picture hp011235  路  4Comments