如何禁用谷歌浏览器版本38的打印预览? [英] How to disable print preview on Google Chrome ver 38?
问题描述
我使用网络浏览器开发POS。但是当我使用onload =window.print();出现打印预览,您需要按确定继续打印。
有其他来源的建议可以在快捷方式中添加--disable-print-preview 。这些似乎在旧版本上工作。
这个扩展的版本是什么版本?或者从其他方式禁用最新版本的Chrome?
命令行参数 - disable-print-preview
适用于Chrome的最新版本,我自己也对其进行了测试。
我使用Chrome 44.0.2403.107(64位)。
如果您不仅要跳过打印预览,而且还要跳过系统打印对话框,请使用 - kiosk-printing
命令行选项取而代之。
请确保Chrome在重新启动之前完全关闭,因为它喜欢作为后台进程闲置。您可能需要重新启动计算机才能使其正常工作。
I have develop POS using web browser. But when I use onload="window.print();" a print preview appears and you need to press the ok to proceed printing.
There are recommendations from other sources to add --disable-print-preview on the short-cut. These appears to be working on old versions.
What version this extension works? or any other way to disable from the latest version of chrome?
The command-line argument --disable-print-preview
works on the newest version of Chrome, I've just tested it myself.
I'm using Chrome 44.0.2403.107 (64-bit).
If you want not only to skip the print preview but the system print dialog too, use the --kiosk-printing
command line option instead.
Make sure Chrome gets shut down completely before you relaunch it, as it likes to hang out as a background process. You might need to restart your computer to get it to work.
这篇关于如何禁用谷歌浏览器版本38的打印预览?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!