Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Force print dialog in mobile Safari for multi page PDF

How to force a working print dialog for a multi page (printing the first page is working) PDF in mobile Safari?

Side info: If I "long tap" the PDF in mobile Safari I get a "Save image as" dialogue. Maybe the mobile Safari implementation renders the PDF as image and I should search for a solution that this engine renders multiple pages?!

like image 898
Paul Vincent Beigang Avatar asked Apr 24 '17 12:04

Paul Vincent Beigang


People also ask

How do I bring up the Print dialog?

To display the Print dialog box, click (Down arrow) of the Print button or the Start Printing button in the Preview screen, and select Check Settings and Print....

How do you Print from Safari on a Mac?

In the Safari app on your Mac, choose File > Print. Click the options pop-up menu (in the separator bar), choose Safari, then set the webpage printing options. If you don't see the options pop-up menu in a separator bar to the right of the page preview, click Show Details at the bottom of the Print dialog.


1 Answers

I would rather say it is a real answer but an alternative if there is no support to force a working print dialogue for a multi page PDF in mobile Safari:

If the source for generating a PDF is HTML, you can use the HTML inside the page and print that instead of the PDF. This will work for more than one page, also in mobile Safari.

like image 54
Paul Vincent Beigang Avatar answered Oct 09 '22 04:10

Paul Vincent Beigang