html to pdf using c#

New Here ,
Mar 28, 2019

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]

Most Valuable Participant
Correct answer by Test Screen Name | Most Valuable Participant

You definitely can’t use Acrobat. It is not licensed for web server use.

TOPICS
Acrobat SDK and JavaScript

Views

1.3K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

html to pdf using c#

New Here ,
Mar 28, 2019

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]

Most Valuable Participant
Correct answer by Test Screen Name | Most Valuable Participant

You definitely can’t use Acrobat. It is not licensed for web server use.

TOPICS
Acrobat SDK and JavaScript

Views

1.3K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Mar 28, 2019 0
Most Valuable Participant ,
Apr 04, 2019

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?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 04, 2019 0
New Here ,
Apr 04, 2019

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?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 04, 2019 0
Adobe Community Professional ,
Apr 04, 2019

Copy link to clipboard

Copied

Here's a google search for HTM to PDF

https://www.google.com/search?q=HTML+to+PDF&oq=HTML+to+PDF&aqs=chrome..69i57j69i60j69i65l3j69i61.307...

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 04, 2019 0
New Here ,
Apr 04, 2019

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 ?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 04, 2019 0
Adobe Community Professional ,
Apr 04, 2019

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:

Acrobat DC SDK Documentation

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 04, 2019 0
New Here ,
Apr 04, 2019

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 04, 2019 0
Most Valuable Participant ,
Apr 04, 2019

Copy link to clipboard

Copied

You definitely can’t use Acrobat. It is not licensed for web server use.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 04, 2019 1
Adobe Community Professional ,
Apr 04, 2019

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 04, 2019 1
New Here ,
Apr 04, 2019

Copy link to clipboard

Copied

Thanks Thom. I would look for some third party tools.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 04, 2019 0