[英]The best way to convert web-page to pdf image
任何人都可以告诉我一个简单的方法将网页屏幕截图转换为PDF格式
If you are trying to do this from a desktop user standpoint 如果您尝试从桌面用户的角度来执行此操作
Windows: http://www.go2pdf.com/product.html Windows: http : //www.go2pdf.com/product.html
Linux: http://www.linux.com/archive/feed/35022 Linux: http : //www.linux.com/archive/feed/35022
If you mean form code then: 如果您指的是表单代码,那么:
PHP: http://www.imagemagick.org/script/formats.php PHP: http : //www.imagemagick.org/script/formats.php
But more information would definitely be useful :D 但更多信息肯定会有用:D
PDFMyURLcom , hands down. PDFMyURLcom ,请放下。
Perfect rendering, except for some custom fonts. 完美渲染,除了一些自定义字体。 Here's an example:
这是一个例子:
http://pdfmyurl.com?url=github.com/portfolio&-B=0mm&-T=0mm&-L=0mm&--margin-right=0mm&--page-size=A3&-O=Portrait . http://pdfmyurl.com?url=github.com/portfolio&-B=0mm&-T=0mm&-L=0mm&--margin-right=0mm&--page-size=A3&-O=Portrait 。
Creating a PDF from HTML instead of letting the user just see the HTML should not be done without consideration. 从HTML创建PDF而不是让用户只看到HTML不应该在没有考虑的情况下完成。 If you already have a usable HTML page you can display, ask yourself: what would the user benefit from having this in a PDF ?
如果您已经有一个可用的HTML页面可以显示,请问自己:用户在PDF中有什么好处? If the issue still stands, here are a few options:
如果问题仍然存在,可以选择以下几种方法:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.