Page 1 of 1

Converting URL to PDF

Posted: 2021-04-06 19:16
by G Scott
I've made a custom template for generating purchase orders in my application. I pass a record ID through a URL parameter to populate the purchase order template.

I need to be able to generate a pdf of the resulting purchase order which will then be sent via email to suppliers.

How can I convert a URL to a pdf. I.e.) pass URL in a PHP function to generate a pdf. Can this be done without using a 3rd party API?

Thanks,
G Scott