Check printing with Java/JSP

前端 未结 2 715

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

    0 讨论(0)
  • 2021-01-15 14:39

    I've used iText to create PDF files before for things like this. PDF is your answer, since the whole point of the format is that it never really changes. Much better than an Applet.

    http://itextpdf.com/

    0 讨论(0)
提交回复
热议问题