HTML转成PDF文件 - HTML_ToPDF
fmms
13年前
HTML_ToPDF能够把任何HTML文档转换成在任何平台和打印机下界面格式都一样的PDF文档。它包括支持图片转换,使用样式表来定制PDF文件和错误处理。 <ul> <li>能够在PDF文件上快速设置权限和进行加密。</li> <li>Can easily convert pages that are generated dynamically (i.e. from a database via PHP)</li> <li>The ability to set the header and footer text, including the color.</li> <li>The ability to set the page size and margins.</li> <li>The ability to convert images in the webpage to images embedded in the PDF. The script tries to convert relative image paths in to absolute ones as well.</li> <li>The ability to use the CSS in the HTML file in the creation of the PDF. This includes remote CSS files as well.</li> <li>The ability to convert remote files.</li> <li>The ability to convert links into embedded clickable links in the PDF file</li> <li>The ability to scale the HTML page.</li> <li>Easy setting of any of these options through the methods of the class.</li> <li>Tries to fix quirks in html pages which break html2ps.</li> <li>Works on both Unix/Linux and Windows.</li> </ul> <p><strong>项目主页:</strong><a href="http://www.open-open.com/lib/view/home/1326855043030" target="_blank">http://www.open-open.com/lib/view/home/1326855043030</a></p>