HTML to PDF conversion
显示 更早的评论
Hi !
Is there a way to convert a .html file to .pdf using command lines?
Thanks in advance,
Avra
回答(1 个)
Andrey Kiselnikov
2019-8-19
编辑:Andrey Kiselnikov
2019-8-19
0 个投票
Hi, report generator allows to save results as a *.pdf file:
But if you still need to convert HTML to PDF by commands you can follow this way:
- Convert HTML to DOM https://www.mathworks.com/help/rptgen/ug/mlreportgen.dom.htmlfile-class.html
- Save your object as you whish: https://www.mathworks.com/help/rptgen/ug/mlreportgen.dom.document-class.html
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB Report Generator 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!