I need to convert the html receipt to pdf file. in html file I also have php information. How can I provide such a thing? could you suggest me with codes.
Asked
Active
Viewed 4,408 times
0
-
Surely this question has been asked before here? Check the _Related_ section on the right. – halfer Apr 25 '12 at 09:52
6 Answers
2
This is going to be a listing question, but we've used DOMPDF as @skippy suggested, and rejected it because it is a REAL troublemaker when tables surpass a page.
We've moved to http://code.google.com/p/wkhtmltopdf/ , which is -in my opinion- way better. It's being used in a production environment sending out lots of pdfs per day. It uses the webkit rendering enginge (you know, the one that chrome uses) and is therefore awesome :)

Nanne
- 64,065
- 16
- 119
- 163
0
Have you taken a look at the DOMPDF project ? It simply rockz...
If that is not enough, you may want to browse StackOverflow itself :

Community
- 1
- 1

Skippy Fastol
- 1,745
- 2
- 17
- 32
0
I am using this code there is no need to installation of any thing . http://sourceforge.net/projects/html2fpdf/

Nanhe Kumar
- 15,498
- 5
- 79
- 71