系统相关
首页 > 系统相关> > linux – HTML到PDF(使用谷歌chrome API)?

linux – HTML到PDF(使用谷歌chrome API)?

作者:互联网

我有一些HTML文档,我需要在服务器上打印/生成(没有UI,自动化,基于Linux).

我对Google Chrome“html to pdf”文件非常满意,但我想知道是否可以为此目的以某种方式使用Google Chrome浏览器中的“html to pdf”打印引擎的“组件”?

解决方法:

其实我找到了解决方案:
第一个wkhtmltopdf http://code.google.com/p/wkhtmltopdf/

最后我意识到mpdf(php lib)也可以帮助我:)

标签:linux,google-chrome,server-side,pdf-generation,html2pdf
来源: https://codeday.me/bug/20190620/1247776.html