HTML转成PDF文件 - HTML_ToPDF
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>
本文由用户 fmms 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
转载本站原创文章,请注明出处,并保留原始链接、图片水印。
本站是一个以用户分享为主的开源技术平台,欢迎各类分享!