Check printing with Java/JSP

前端 未结 2 752

I\'m working on an existing Java web application (HTML/CSS/JS/JSP/Servlets and Java classes in this particular app) that currently uses an applet to print checks.

My

2条回答
  •  佛祖请我去吃肉
    2021-01-15 14:20

    I ended up digging deeper into using iText and came across flying-saucer which makes it super-easy to render a PDF from XML or XHTML.

    Check it out at http://code.google.com/p/flying-saucer/

    I also found out how to partially hide the save functionality by rendering the PDF inside a hidden iframe: Create a "print-only" PDF with itext

提交回复
热议问题