cancel
Showing results for 
Search instead for 
Did you mean: 

Converting html to pdf

Former Member
0 Kudos

Hi,

I need to convert programmatically a html-site into a pdf document. The pdf-output should look like the printversion of the html-site. Do I have the possibility to make this conversion with help of the adobe document service or with any other java lib? If yes, how I do that?

I didn't found any tutorials or documents, which describe the access of the adobe api programmatically. Can you provide some links to such documents?

In the native adobe api it is possible to render a html (or other formats) to pdf. I need the same functionality in my application.

I'm working on SAP Netweaver 2004s SP13, ADS installed.

Regards,

Thomas

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello

if your html is valid xhtml <a href="https://xhtmlrenderer.dev.java.net/">Flying Saucer</a> can be used to output xhtml -> pdf

regards franz

Former Member
0 Kudos

Hi Thomas,

Please check the below links, they will give you an idea

http://www.adobeforums.com/webx/.3c034c61

http://www.adobe.com/products/acrobat/access_onlinetools.html

https://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/services/sal/url/api/WDWebResourceType.html -->API

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1bbc91c3-0401-0010-91bc-a25b2a3d...

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/288e9c7d-0c01-0010-5382-dbec82af...

Hope that helps,reward points if useful

Regards

Anil