Skip to content Skip to sidebar Skip to footer

Dynamic Pdf Need To Open Print Box Directly

i personally would think it's not possible, but maybe somebody knows. (PHP, PDF created with fpdf) I would like to know if it is possible to open that pdf and open the print box di

Solution 1:

You should embed some javascript code to do it.

You'll need this component too: http://www.fpdf.de/downloads/addons/36/

In the end of the page you have an example where you can show a print dialog after user open the document.


Solution 2:

There is code that uses JavaScript to print the page. Means the reader has to have JS enabled.

Add Print Support


Post a Comment for "Dynamic Pdf Need To Open Print Box Directly"