Copy link to clipboard
Copied
Hi,
Can you please advise if you any API to be used in our C# application to convert from HTML to PDF ?
Cheers,
Ram
Post moved from Adobe Creative Cloud to Creating PDFs. [Mod]
1 Correct answer
You definitely can’t use Acrobat. It is not licensed for web server use.
Copy link to clipboard
Copied
What environment?
- Web server?
- Single user owning Acrobat Pro license, running tool interactively?
- Background task?
- Users with Acrobat Reader only?
- Other?
Copy link to clipboard
Copied
Hi,
Please see my responses below.
- What environment?
It needs to be used in our web application developed using ASP.NET (C#)
- Web server?
IIS
- Single user owning Acrobat Pro license, running tool interactively?
See response below
- Background task?
Yes, acrobat API or software we can install on the server where IIS is hosted so that the web application that we developed can talk to the software in converting the HTML to pdf and get the document downloaded to users based on the user actions on the webpage.
- Users with Acrobat Reader only?
Yes
- Other?
Copy link to clipboard
Copied
Here's a google search for HTM to PDF
You'll find a couple of C# SDKs in there.
I would stick with a pre-built application. Writing this with a low level PDF library would be a huge job.
Use the Acrobat JavaScript Reference early and often
Copy link to clipboard
Copied
Hi,
I knew there are a lot of C# SDKs available. But, can you please confirm if acrobat doesn't provide any APIs to call from other programming languages (such as C#, JAVA etc.) to convert from HTML to PDF ?
Copy link to clipboard
Copied
Why yes, Acrobat does provide access to this functionality. Simply directing Acrobat to open an URL will cause it to convert HTML to PDF.
Look at the Acrobat InterApplicaiton Communication API:
Use the Acrobat JavaScript Reference early and often
Copy link to clipboard
Copied
Thanks for your response. Please advise if you have any samples in C# on how to use InterApplication Communication API.
Copy link to clipboard
Copied
You definitely can’t use Acrobat. It is not licensed for web server use.
Copy link to clipboard
Copied
Ahhh, I missed those answers. You cannot use Acrobat for this. You'll need a 3rd Party tool.
That said, since it's operating from a server script, you could probably use one of the online services for this.
Use the Acrobat JavaScript Reference early and often
Copy link to clipboard
Copied
Thanks Thom. I would look for some third party tools.

