ng2-pdfjs-viewer icon indicating copy to clipboard operation
ng2-pdfjs-viewer copied to clipboard

Print issue in firefox

Open SiposGergo opened this issue 6 years ago • 5 comments

Hi, there is an issue with print function in Firefox (version: 70.0.1). When I print pdf, a blank page added to the end of the document.

Reproduction with the demo app: https://ng2-pdfjs-viewer.azurewebsites.net/home Error occurs on the 'simple configuration' page. Other pages work correctly.

SiposGergo avatar Nov 07 '19 09:11 SiposGergo

@SiposGergo Would you be able to try this in PDFJs's demo page and report the results?

https://mozilla.github.io/pdf.js/web/viewer.html

codehippie1 avatar Nov 14 '19 19:11 codehippie1

@codehippie1 I tried to print the document on the linked page and it worked properly with Firefox. No extra blank page was added to the end of the document.

SiposGergo avatar Nov 20 '19 11:11 SiposGergo

Seems to be an issue with pdfjs - https://github.com/mozilla/pdf.js/issues/8849

Will check and see if a new version is available with the fix.

codehippie1 avatar Jan 03 '20 16:01 codehippie1

Hi, we have expirienced the same problem. Maybe in context with letter and A4 ? The minimalistic has A4 and in the other example there is the height smaller then 297mm. Would be great if the issue will be solved.

pgsrw avatar May 07 '20 14:05 pgsrw

facing the same issue using pdfjs 2.4.456 and firefox 83.0 (64-bit). had to hide the print button as a workaround

bluewis777 avatar Nov 18 '20 08:11 bluewis777