![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
wkhtmltox
csgogogo_471
性别男,从事java软件开发;
展开
-
wkhtmltopdf 中文参数详解
linux:wkhtmltopdf [OPTIONS]… [More input files] windows:wkhtmltopdf.exe [OPTIONS]… [More input files] 常规选项 –allow 允许加载从指定的文件夹中的文件或文件(可重复) –book* 设置一会打印一本书的时候,通常设置的选项 –collate 打原创 2016-08-11 17:25:15 · 12507 阅读 · 3 评论 -
HTML转PDF工具(wkhtmltopdf)介绍,支持widows和linux
最近项目中客户提了一个奇葩的需求;批量把html转为pdf文件用于存档。听到这个需求不知所错,最开始研究iText使用java开发,各种中文乱码,中文不显示问题。后来在网上搜索到wkhtmltopdf工具,以下是完整的说明以及代码。首先下载文件:html转为pdf文件(wkhtmltox)(包括windows下exe安装文件和linux下可执行文件),官方下载地址一、windows下操作步骤安装:原创 2016-08-11 18:19:16 · 21310 阅读 · 11 评论