We have the general need to render HTML disclosure web pages to PDF, so that they can be appended to the receipt PDF.  I've tested with PhantomJS from the command-line and it does a fairly good job.  And I've created a test using iText XmlWorker - which will take more work to get looking good because of CSS and <img> tags.

Is there a preferred approach for doing this from service code?  PhantomJS (which I'm not sure yet how to launch from a service) or iText?  And would anyone have an example of making a fairly complex page look good?


    CommentAdd your comment...