从Chrome打印没有打印对话框?使用Greasemonkey userscript可能? [英] Print from Chrome without the print dialogs? Using Greasemonkey userscript maybe?

查看:120
本文介绍了从Chrome打印没有打印对话框?使用Greasemonkey userscript可能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在开发基于浏览器的仓库应用程序,需要定期打印标签和发票。我们希望能够在不点击通常的浏览器打印对话框的情况下打印到本地打印机。这可能吗?可能使用greasemonkey userscript?我们不希望设置整个CUPS打印机网络并处理所有这些,但仓库拣货员不得不每天点击1000次打印对话框。

We're developing a browser-based warehouse app that needs to print labels and invoices regularly. We want to be able to print to the local printer without clicking through the the usual browser print dialogs. Is this possible? Possibly using a greasemonkey userscript? We don't want to have to setup a whole CUPS printer network and deal with all that, but warehouse pickers having to click through a print dialog 1000 times a day isn't an option.

我们正在打印PDF文件,不确定是否重要。如果我们可以通过HTML5或其他方式做到这一点,我可以在这里打开课程变更或其他想法。

We're printing PDFs, not sure if that matters. If we could do this another way using HTML5 or something else I'm open to course changes or other ideas here.

推荐答案

您如果您使用--kiosk --kiosk打印开关启动您的Chrome(v18 +),可以执行此操作。

You can do if you start your chrome (v18+) with the --kiosk --kiosk-printing switches.

您可以从此视频中看到 https://www.youtube.com/watch?v=1ewep-ZT64E

You can see it from this video https://www.youtube.com/watch?v=1ewep-ZT64E

这篇关于从Chrome打印没有打印对话框?使用Greasemonkey userscript可能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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