指导没有提示创建一个Java小程序,打印 [英] Guide on creating a Java Applet , Printing without prompt

查看:146
本文介绍了指导没有提示创建一个Java小程序,打印的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好吧,我创建了一个基于网络的POS采取订单。我的问题是如何创建一个Java小程序;

Well I have created a web-based POS to take order. My question is how do I create a Java-Applet;


  1. 显示HTML页面和放大器;打印按钮

  2. 而不提示打印命令(无对话框)

附加信息:它的工作原理是这样的。服务员会从电脑(POS)键的命令,当他们击中打印,它将检测在厨房打印机的腹膜内地址,然后立即打印出订单,而不提示。我其实在寻找参考/指南,可以帮助我开始。任何意见将是有帮助。谢谢

Additional Information : It works like this. The waiter will key the orders from the computer(POS) , when they hit print, it will detect the I.P address of the printer in the kitchen,then print out the orders immediately without prompt. I am actually looking for reference/guide which can help me start on. Any Advise will be helpful as well. Thank you

推荐答案

您不能这样做,出于安全考虑。如果你能,小程序就已经成为臭名昭著的打印10+网页,当您访问不法网站特别优惠。

You cannot do that for security reasons. If you could, applets would already have become notorious for printing 10+ pages of 'special offers' when you visit unscrupulous web sites.

OTOH,如果客户愿意接受一个提示小程序在启动时,可以进行数字签名code。

OTOH, if the client is willing to accept one prompt at applet start-up, you could digitally sign the code.

这篇关于指导没有提示创建一个Java小程序,打印的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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