开发者

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 directly.

More or less the same as one could do window.print() with html/JS.开发者_JS百科

any one any ideas?


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.


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

Add Print Support

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜