Issue metadata
Sign in to add a comment
|
.pdf appear blank
Reported by
rmarkcol...@gmail.com,
Jun 6 2017
|
||||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 5.1; rv:52.0) Gecko/20100101 Firefox/52.0 Example URL: It is within a password protected site. Steps to reproduce the problem: 1. Click on a print link from a web page that hosts a .pdf form to be printed. 2. 3. What is the expected behavior? Should appear on screen as the document to be printed. What went wrong? Print Preview appears as a blank page and also prints blank when sent to the printer. Does it occur on multiple sites: N/A Is it a problem with a plugin? No Did this work before? Yes 58.0.3029 Does this work in other browsers? Yes Chrome version: 59.0.3071 Channel: stable OS Version: 7 and 8.1 Flash Version: This started happening as each browser updated today to version 59. It worked this morning until the update occurred. People kept telling me well so and so is able to do it. As I checked the version numbers it was apparent that 58 was working and 59 wasn't. As each person was updated to 59 they then reported they could no longer print the .pdf form.
,
Jun 8 2017
I have the same problem with the attached PDF. More details: https://stackoverflow.com/questions/44422565/chrome-blank-pdf-print-preview
,
Jun 8 2017
For me the incompatibility issue with chrome 59 seems to be because of the javascript we are injecting to the PDF using QuickPDF library (PageJavaScriptAction).
The JS code is:
try{print({bUI: true, bShrinkToFit: true});} catch(e){try{print({bUI: true, bShrinkToFit: true});} catch(e1){app.alert(e + ',' + e1);}}
After removing this code from the PDF the preview seems to be working fine.
No need to say it was working fine in Chrome 58.x.
,
Jun 13 2017
This might be related to bug 732380 .
,
Jun 13 2017
The PDF in #2 is related to bug 732380 as there is a Length 0 stream in there. rmarkcoleman@ can you open the PDF file with a text editor and see search for a "Length 0" entry on a stream? Something like: 10 0 obj << /Length 0 /Filter /FlateDecode >> stream endstream endobj The entry in comment #3 seems unrelated? Can you please open a separate issue for the JS injection (unless it's injecting a Length 0 stream?)
,
Jun 13 2017
,
Jun 13 2017
dsinclair@ The issue I reported in #2 got fixed when I removed the mentioned code in #3 from PDF generation process. We are using QuickPDF library (http://www.debenu.com/). Maybe this library is not able to generate a correct PDF file format and adds streams with length of 0 to the file (particularly in their PageJavaScriptAction method).
,
Jun 13 2017
|
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by nyerramilli@chromium.org
, Jun 7 2017