将大型HTML文件转换为PDF的最快方式是什么?

huangapple go评论49阅读模式
英文:

What is the fastest way to convert large HTML files to PDF?

问题

我有一个在点击按钮时生成的带有CSS样式的HTML页面。生成的HTML+CSS需要转换成PDF。

我正在使用HTML、CSS和JavaScript代码。我尝试了jspdf插件。但它对我来说并不完全合适。我正在寻找另一个解决方案。

英文:

I have an html page (with css styles) that is generated on click of a button. generated html+css needs to be turned into pdf.

I'm using html , css and js code. I tried jspdf plugin . But it is completely suitable for me. I'm looking for another solution

答案1

得分: 0

我可以推荐html2pdfjet.com。他们提供高质量的PDF转换服务,还支持所有HTML属性。

英文:

Considering that you want to convert PDFs client-side, Any client-side code is ineffective for doing that.

But I could recommend html2pdfjet.com. They are offering a very high-quality PDF that will also support all HTML attributes.

huangapple
  • 本文由 发表于 2023年4月4日 17:42:05
  • 转载请务必保留本文链接:https://go.coder-hub.com/75927850.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定