What is the best PHP html to pdf class? #html to pdf
Edit
by ahmedhosni - 9 years ago (2016-02-07)
Print HTML as PDF
| I need to convert HTML to PDF to be printed on paper. |
- 1 Clarification request
1.
by Dave Smith - 9 years ago (2016-02-08) Reply
I will have a package that wraps an API out shortly which will allow you to specify your page size and either download or display the generated PDF for you to print.
Ask clarification
1 Recommendation
This class can convert HTML to PDF using pdflayer API.
It can send HTTP requests to the pdflayer API Web server to convert a given HTML document to PDF. The HTML may be passed literally or as the URL of a given page to convert.
The class retrieves the converted HTML document and displays the PDF document as the current request output or serve it for download.
The class can pass conversion options like:
- Standard and custom page sizes and orientation
- Viewport page sizing and zooming
- Customized page headers and footers
- Margins
- Stamps and watermarks
- Encryption
- Owner and user password protection
- PDF file permissions to save, print, etc..
- PDF Meta data
| by Dave Smith package author 7620 - 9 years ago (2016-02-11) Comment
This package wraps the pdfLayer API which will allow you to convert the html to PDF and can be configured to use any standard paper size or customize it to fit your needs. |