google-chrome - 如何将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
非常感谢你的帮助!
解决方案
哦,我的错,我刚刚想通了:)
chromehtml2pdf --out="E:\Trial\test.pdf" hhttps://wikipedia.org
推荐阅读
- docker - “尾随垃圾,无视。” Docker 在 vagrant virtualbox 上的 centos 中使用 puppet 时出错
- javascript - 制作一个向任何函数添加延迟回调的函数?
- ms-access - 访问表与 SharePoint 列表设计
- python - MySQL Python客户端得到1045(28000):用户'root'@'localhost'的访问被拒绝
- php - 获取 S3 预签名 url 并使用 php 在网络上预览
- rust - 从 `svd2rust` 生成的库不是带有模块的标准格式
- .net - 使用 ChartJS 在 C# 中显示图表
- python-3.x - python中列值的条件赋值
- javascript - 将脚注放在页面底部,即文本中的注释
- ios - AVFoundation -AVCaptureSession 仅在进入后台并使用断点返回时停止并开始运行