Expand my Community achievements bar.

Information Required: Export HTML page URL to PDF

Avatar

Level 1

Hi Team,

Kindly let us know if  there is a library available which we can utilize in our C# (.net) to convert HTML page URL content to PDF? Any help will be highly appreciated.

Thanks,

Vikram

5 Replies

Avatar

Employee Advisor

You can use webservice endpoints in your C# code to invoke any service in  LiveCycle.

This should help : http://help.adobe.com/en_US/livecycle/9.0/programLC/help/index.htm?content=000215.html#1557876

Thanks,

Wasil

Avatar

Level 1

Hi Wasil,

Thanks for your reply.

We are getting below error while running sample code at address “http://help.adobe.com/en_US/livecycle/9.0/programLC/help/index.htm?content=000215.html#1557876

Caused by: ALC-PDG-52018-000: com.adobe.livecycle.generatepdf.client.ConversionException: ALC-PDG-052-018-Connection to host cannot be resolved(URL does not exist).; nested exception is:

                ALC-PDG-52018-000: com.adobe.livecycle.generatepdf.client.ConversionException: ALC-PDG-052-018-Connection to host cannot be resolved(URL does not exist).

1.png

Note: EndPoint Address to "http://localhost:8080/soap/services/GeneratePDFService?blob=mtom"

Also whenever we are trying to user HTML URL to PDF conversion from Live Cycle Admin UI we are getting following URL:

2.png

Can you please help us to resolve the above error.

Thanks,

Vikram

Avatar

Employee Advisor

Could you confirm whether you are able to convert the documents(image, doc, docx etc) using PDF generator successfully ?

Also, share the error snippet  (when you do this html conversion in adminui), in JBoss log file.

Thanks,

Wasil

Avatar

Level 1

Hi Wasil,

We are successfully able to convert Word documents(doc, docx) using PDF generator.

Please refer below screenshot for error logged in JBOSS log file:

Error.png

Error2.png

Thanks,

Vikram

Avatar

Employee Advisor

Hi Vikram,

What is the Operating System and LiveCycle version  ?

Thanks,

Wasil