我工作的一个信息亭应用,需要进行打印。我有打印功能工作,但问题是,它显示了一个对话框,并为信息亭应用,我们需要让事情变得简单,并限制哪些用户可以做的。
I am working on a kiosk app which needs to print. I have the printing functionality working but the problem is it shows a dialog and as a kiosk app we need to keep things simple and limit what users can do.
有没有办法不显示对话框打印?
Is there a way to print without showing the dialog?
我是否打印到默认打印机,或者如果它的东西,我需要将参数传递到不在乎。
I don't care if it prints to the "default" printer or if it's something I'll need to pass parameters into.
我用这个供参考: http://developer.android.com/培训/印刷/ HTML-docs.html
有没有办法不显示对话框打印吗?的
没有,没有。
您不能没有自定义源做到这一点。
You can't do it without customizing the sources.
有关参考:发行与印刷
For reference: Issue with Print dialog for Printing.