简体   繁体   English

如何在没有打印对话框的情况下从Web浏览器进行打印?

[英]How to print from web browser without print dialog?

I'm building a LAMP point of sale (PoS) system. 我正在构建一个LAMP销售点(PoS)系统。 At the end of each transaction, I want to print a receipt. 在每笔交易结束时,我想打印一张收据。 However, I do not want to be prompted by the print dialog. 但是,我不想被打印对话框提示。 Is there a way to disable the print dialog? 有没有办法禁用打印对话框? I will have direct access to every computer that uses the PoS, so I can make any changes to the OS, browser, etc. I'm looking for a solution that works cross platform, cross browser. 我将可以直接访问使用PoS的每台计算机,因此可以对操作系统,浏览器等进行任何更改。我正在寻找一种可以在跨平台,跨浏览器上运行的解决方案。

Suggestions? 有什么建议吗?

Make each PoS station a print server. 使每个PoS工作站成为打印服务器。 Have the web server print to the same station that the request came from. 将Web服务器打印到请求来自的同一站点。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM