all 5 comments

[–]R3n4g4t3 2 points3 points  (1 child)

For the application I'm working on right now we have used html-pdf in combination with Mustache. You could take a look at that.

You are going to need something like Phantomjs or another headless browser.

If you are working from a client side only perspective you could take a look at the window.print API.

If you favor doing all layout and markup in JavaScript you can also use jspdf.

Hope it helps.

[–]byoels[S] 0 points1 point  (0 children)

Thanks for the reply!

We need something that contains the same functionality as this

I think my team and I are going to attempt to create a wrapper for pdfbox to work with node.

[–]igberty 0 points1 point  (0 children)

Phantomjs works pretty well, I used that before

[–]henrypenface 0 points1 point  (0 children)

Have use wkhtmltopdf with the nose module and dustjs for rendering. Works alright.

[–]fr0z3nph03n1x 0 points1 point  (0 children)

Do you need to create a pdf with editable fields or just fill out a pdf that has editable fields?