PHP Classes

HTML to PDF: Convert HTML to PDF using Web services

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (50)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 49%Total: 38,204 This week: 1All time: 9 This week: 89Down
Version License PHP version Categories
html_to_pdf 1.0.0Freeware3HTML, Files and Folders, Web services
Description 

Author

This class can be used to convert an HTML document or Web page using the ABCPDF or EasySW Web services.

It can communicate with these services to tell to convert a given URL to PDF. It may also convert a local HTML file by serving it as a remote page passing it as an argument of the current script URL.

The converted PDF document may be stored as a local file or served for download.

Innovation Award
PHP Programming Innovation award nominee
February 2006
Number 2


Prize: One downloadable copy of Roadsend PHP Compiler
Generating PDF from HTML is not a trivial task. There are several sites that can convert existing HTML pages to PDF documents, but these can only be used if the pages are publicly accessible.

This class provides a solution to work around that difficulty. It submits request to PDF to HTML conversion sites, passing as parameter a URL of the current script that serves HTML document, that could even be private.

Manuel Lemos
Picture of Harish Chauhan
Name: Harish Chauhan is available for providing paid consulting. Contact Harish Chauhan .
Classes: 28 packages by
Country: India India
Age: ???
All time rank: 32 in India India
Week rank: 22 Down3 in India India Down
Innovation award
Innovation award
Nominee: 1x

Recommendations

What is the best PHP pdf to html class?
Converting PDF files to a HTML file

Convert HTML form to PDF
I need to convert HTML application form to PDF file

PDF creator for web pages
create pdf file from html source

  Files folder image Files  
File Role Description
Plain text file html_to_pdf.inc.php Class Main Class
Accessible without login Plain text file html_to_pdf_test.php Example Example

 Version Control Unique User Downloads Download Rankings  
 0%
Total:38,204
This week:1
All time:9
This week:89Down
User Ratings User Comments (11)
 All time
Utility:70%StarStarStarStar
Consistency:72%StarStarStarStar
Documentation:-
Examples:67%StarStarStarStar
Tests:-
Videos:-
Overall:49%StarStarStar
Rank:2781
 
good
8 years ago (arup saha)
67%StarStarStarStar
Having error
8 years ago (Nilesh Daldra)
0%Star
Having error
8 years ago (Nilesh Daldra)
0%Star
www.
8 years ago (hugo)
35%StarStar
The code has errors from the start, has not been updated for ...
8 years ago (Morten Lind-Olsen)
0%Star
The URL's to the conversion services no longer work so the cl...
13 years ago (andy beak)
30%StarStar
Why you are using CURL for conversion, its not
14 years ago (Tawhidur Rahman)
2%Star
Does not seem to work / extreme slow loading
15 years ago (Daniel Collins)
0%Star
This is a hack PHP, conect to an URL to convert HTML to PDF.
16 years ago (masca)
0%Star
Package no longer works but this is due to a change in the AB...
16 years ago (Aaron)
20%StarStar
Its not working.
16 years ago (Marimuthu K)
0%Star