PDF printWithDialog错误 [英] PDF printWithDialog bug

查看:486
本文介绍了PDF printWithDialog错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我有显示在浏览器中的PDF,并使用链接使用PrintWithDialog函数进行打印.问题是默认情况下,打印对话框的打印范围"设置为页面数":1.用户必须每次单击所有页面"选项.
如果我单击打印工具栏按钮,则打印对话框将使用所有页面"选项.但是,如果我使用printWithDialog函数启动对话框,那么这是一个问题.

启动打印对话框时,我们可以通过编程方式设置所有页面"选项吗?

-Amul.

Hi,

I have PDF that is displayed in a browser and to print it using a link i use the printWithDialog function. The problem is that the print dialog by default has the Print Range set to Pages : 1. The user has to click on the "All Pages" option everytime.
If i click on the print toolbar button then the print dialog uses the "All Pages" option. But if i use the printWithDialog function to launch the dialog, then its a problem.

Can we programmatically set the "All Pages" option when launching the print dialog?

-Amul.

推荐答案

不,使用javascript打印时实际上没有控制权.
No, you have literally no control when printing with javascript.


这篇关于PDF printWithDialog错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆