5

Is there a PDF library that one can use to automate creating PDFs from URLs? The current approach I use is to "Print" a page and select a PDF plugin like PrimoPDF to generate the PDF document but I was wanting to automate that.

4

4 回答 4

5

ABCPDF can do it

于 2008-08-28T20:10:30.707 回答
3

wkhtmltopdf从我找到的网页中生成最准确的 PDF。它在 WebKit 中呈现它们并将其转换为 PDF,因此 PDF 看起来与网页一模一样,包括所有样式和其他花哨的东西。

像这样使用它:

wkpdfhtmltopdf http://www.whatever.com/page.html page.pdf
于 2011-12-19T13:56:12.447 回答
0

Depends on what platform you are on

Windows - Websupergoo's ABC PDF

http://www.websupergoo.com/

*nix - Prince XML http://www.princexml.com/overview/

于 2008-08-28T20:28:39.883 回答
0

我还使用过 ABC PDF(来自经典 ASP),发现它非常好。

于 2009-11-10T17:23:27.470 回答