首页 > 解决方案 > 如何将chromehtml2pdf生成的PDF保存到本地文件夹?

问题描述

我正在使用此工具从网页导出 PDF。来自作者的指示

安装后,简单的命令行用法是:

chromehtml2pdf --out=out.pdf https://wikipedia.org

生成该网页的 PDF。

对于本地文件,请使用:

chromehtml2pdf --out=out.pdf file:///path/to/file/file.htm

您能否解释一下如何使用该命令将https://wikipedia.orgchromehtml2pdf --out=out.pdf file:///path/to/file/file.htm的 PDF 保存到文件夹 ' ?C:\Users\Dung Le\Downloads\Documents

非常感谢你的帮助!

标签: google-chromepdf

解决方案


哦,我的错,我刚刚想通了:)

chromehtml2pdf --out="E:\Trial\test.pdf" hhttps://wikipedia.org


推荐阅读