0

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.

1
  • Surely this question has been asked before here? Check the Related section on the right. Commented Apr 25, 2012 at 9:52

6 Answers 6

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 :)

Sign up to request clarification or add additional context in comments.

Comments

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 :

Convert HTML + CSS to PDF with PHP?

Comments

0

Try using this to automagically convert html to pdf:

www.tcpdf.org

Comments

0

Try this

http://code.google.com/p/wkhtmltopdf/

it works like a charm. :)

Comments

0

My company has a product called DocRaptor that converts HTML to PDF using an HTTP POST request.

DocRaptor is built using Prince, and produces higher quality results than similar programs.

Here's a link to DocRaptor's homepage:

DocRaptor

Comments

0

I am using this code there is no need to installation of any thing . http://sourceforge.net/projects/html2fpdf/

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.