IIRC you can solve that using CSS for print media.
The browser will display a different CSS to the printer, so to speak.
Re:URL to PDF Microservice
by amigoingtodie on Thursday October 05, 2017 @06:09PM
(#15412946)
Yes, and instead of px or em, you can use mm for css units (positioning, size, etc.).
Re:URL to PDF Microservice
by jessegavin on Thursday October 05, 2017 @05:21PM
(#15412682)
Use a <tfoot> element (unless you're actually trying to show a sub-total of just the page you're looking at).
Yeah literally need to add an invoice subtotal for the items on that page
I'd be interested in this as well. The industry standard, PrinceXML, has a huge licensing fee (currently $3800 per server), but it's also rock solid, handles modern CSS, and has hooks for adding things like headers and footers for pages and tables.
E.g. on a multi-page invoice, show a sub-total row at the bottom of each page. Does anyone know how to create this kind of function?