PDF generation using HTML and CSS
Possible Duplicate:
Convert HTML + CSS to PDF with PHP?
Please give code for PDF generation using HTML and CSS
In one of my projects I am using dompdf. Here you can find the code
you are looking for.
What's your development environment?
I have used iTextSharp with great success. You might want to have a look at it.
It's not possible to generate a PDF file using just HTML and CSS code. You will need a PHP library that supports converting HTML documents to PDF documents. See this StackOverflow question for some tips.
链接地址: http://www.djcxy.com/p/88528.html上一篇: 将HTML转换为PDF
下一篇: 使用HTML和CSS生成PDF