Guide on creating a Java Applet , Printing without prompt

后端 未结 2 1872
小鲜肉
小鲜肉 2021-01-13 17:19

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

  1. Shows the HTML page & a Print button
  2. Print Order
2条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-13 17:49

    There is a project that does HTML printing using HTML5 to render the contents to a PNG and Java to print directly, exactly as described in the original post. This project is called "qz-print" (previously called "jzebra") and it offers the digital signature in both self-signed (free) and trusted-signed (at a premium).

    It also uses the signed JNLP files as Andrew Thompson has illustrated. (Thanks Andrew, your contributions to Java as a whole have been a great help to Java developers around the world).

    https://code.google.com/p/jzebra/

提交回复
热议问题