What's the best way to get clean 'html compiled to pdf' output without losing formatting? or Does any

16 Replies, 1776 Views

Honestly, I gave up on libraries and just use Chrome’s built-in print to PDF.

Save your html as a file, open in Chrome, hit Ctrl+P, and choose "Save as PDF."

Weirdly, it’s one of the most reliable ways I’ve found for html compiled to pdf. Just gotta tweak margins sometimes.

Messages In This Thread



Users browsing this thread: 1 Guest(s)