Bug 9530

Summary: Printing of PDF in IFRAME from USPS.com does not work properly
Product: WebKit Reporter: Craig <craig>
Component: PrintingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal    
Priority: P2    
Version: 417.x   
Hardware: Mac   
OS: OS X 10.4   
URL: https://sss-web.usps.com/cns/sample.do?productCode=PRI

Craig
Reported 2006-06-21 08:29:45 PDT
The URL above is the print sample page from the USPS with regards to printing a click-n-ship label. It loads the url: https://sss-web.usps.com/cns/servlet/com.usps.cns.web.pdf.LabelGenerationServlet?sample=false&productCode=PRI&dummy=file.pdf Into an iframe after processing the request server-side. However, the iframe is hidden, and the link to that pdf is not displayed (which is their failover in case you can't see the iframe, strangely enough). Therefore, the hidden iframe does not print. I can't find any script that actually sends the print command to the browser, and this may be because the PDF file itself contains that code. (If the pdf is saved to disk and opened in Acrobat, it immediately pulls up the print dialog) The only workaround I have found is to do a view-source on the page, extract the above URL and paste it into your browser to view the PDF fullscreen and then print it manually. Unsure if this is a webkit bug, a pdf bug, or an issue for 3rd-party PDF plug-ins.
Attachments
Craig
Comment 1 2006-06-21 08:35:50 PDT
David Kilzer (:ddkilzer)
Comment 2 2006-06-21 08:37:14 PDT
Please try this on a WebKit nightly build and report back the results (and the build number: rNNNNN) in this bug. http://nightly.webkit.org/ Thanks! This sounds like another visibility/iframe bug, but I don't recall the bug number.
Alexey Proskuryakov
Comment 3 2006-06-21 09:07:53 PDT
*** This bug has been marked as a duplicate of 4151 ***
Note You need to log in before you can comment on or make changes to this bug.