使用phantomjs将web页面转Pdf

上传:super33Hz 浏览: 16 推荐: 0 文件:7Z 大小:12.32MB 上传时间:2019-06-01 07:08:32 版权申诉
windows版:1、下载phantomjs,解压到某个目录。2、将XXX\phantomjs\bin配置到环境变量中(方便使用)。3、cmd下调用如下命令:oeepdf"url""output",即可生产pdf文件。url:网页地址output:pdf输出路径
上传资源
用户评论