简体   繁体   English

从运行javascript的站点生成PDF

[英]Generate a PDF from a site running javascript

I need a way to generate a pdf-file of a site that runs alot of javascript.. any ideas of how to do it..or is there any package that I can use or something? 我需要一种生成运行javascript的网站的pdf文件的方法。有关该方法的任何想法..或者是否有我可以使用的软件包?

Thanks in advance! 提前致谢!

EDIT 编辑

Should add that I need to generate this server-side using asp.net. 应该补充一点,我需要使用asp.net生成此服务器端。

Doing it server-side I would recommend iTextSharp or Docmosis, and the Docmosis cloud services could also let you create it by a http post from Javascript). 在服务器端执行此操作,我建议使用iTextSharp或Docmosis,Docmosis云服务还可以让您通过Java脚本的http帖子创建它。 They both allow your application to create PDF documents with a rich set of features for layout and content. 它们都允许您的应用程序创建具有丰富的布局和内容功能的PDF文档。 If you say more about what is in the PDFs you need to create then it might be clearer which you would choose. 如果您要详细说说需要创建的PDF文件,那么选择哪种文件可能会更清楚。 Please note I work for the company that created Docmosis. 请注意,我为创建Docmosis的公司工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM