HTML轉成PDF文件 - HTML_ToPDF

fmms 12年前發布 | 19K 次閱讀 HTML PDF工具包

HTML_ToPDF能夠把任何HTML文檔轉換成在任何平臺和打印機下界面格式都一樣的PDF文檔。它包括支持圖片轉換,使用樣式表來定制PDF文件和錯誤處理。

  • 能夠在PDF文件上快速設置權限和進行加密。
  • Can easily convert pages that are generated dynamically (i.e. from a database via PHP)
  • The ability to set the header and footer text, including the color.
  • The ability to set the page size and margins.
  • 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.
  • The ability to use the CSS in the HTML file in the creation of the PDF. This includes remote CSS files as well.
  • The ability to convert remote files.
  • The ability to convert links into embedded clickable links in the PDF file
  • The ability to scale the HTML page.
  • Easy setting of any of these options through the methods of the class.
  • Tries to fix quirks in html pages which break html2ps.
  • Works on both Unix/Linux and Windows.

項目主頁:http://www.baiduhome.net/lib/view/home/1326855043030

 本文由用戶 fmms 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!