|
|
|
|
|
by SigmundA
1250 days ago
|
|
There are a lot of procedural tools for generating HTML, lots, if modern browsers fully supported print CSS then you could use them for complex PDF generation, or direct printing, either client side or on the server headless. If your app is a web app this is a no brainer, the users browser could simply do the print or PDF conversion as needed. I do see a use for more direct libraries in native apps, although if every native client had a browser control with full print CSS support even then it might not be such an issue. |
|
That's arguable, IME (and also a better UX), most would prefer to just get the PDF file which just one click than to deal with additional browser dialogs. No everyone knows how to do print-to-pdf or even know it exists.
Or do you mean browsers expose print-to-pdf functionality as an API?