我想将https://spring.io/guides/gs/maven/下载并转换为pdf文件
但我在以下命令中尝试了wkhtmltopdf
的几个选项,它们只能打印网页的开头部分
wkhtmltopdf https://spring.io/guides/gs/maven/ "Building Java Projects with Maven.pdf"
wkhtmltopdf -n https://spring.io/guides/gs/maven/ "Building Java Projects with Maven.pdf"
wkhtmltopdf --no-stop-slow-scripts https://spring.io/guides/gs/maven/ "Building Java Projects with Maven.pdf"
如何打印整个网页?
另请注意代码片段有水平滚动条。是否可以打印整个代码片段?
感谢。