Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


how can I convert HTML to PDF programatically using Adobe pro PDF

New Here ,
Feb 05, 2019 Feb 05, 2019

Copy link to clipboard

Copied

we need to automate the conversion of HTML to PDF using Adobe Acrobat Pro through program in .Net or any other framework. Could you suggest the way how can we use the Adobe Acrobat Pro inside a program to create PDF from web page or  from HTML file?

TOPICS
Create PDFs, Windows

Views

1.2K

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
community guidelines
Adobe Community Professional ,
Feb 05, 2019 Feb 05, 2019

Copy link to clipboard

Copied

Hi Ravitejam,

If it comes to programming I doubt I can help you but when you say "automate," are you wishing to point to a full website and say "make that a PDF," and the full website is now a PDF or are you wishing to do a website one page-at-a-time?

The former may not be possible because there's no way to know how deep in the links you want to go. The latter is very easy.

Lastly, when you say "...through program in .Net..." what is .Net?

Oh, and lastly lastly, what OS are you working with?

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
community guidelines
New Here ,
Feb 05, 2019 Feb 05, 2019

Copy link to clipboard

Copied

i am working on windows and Could you share any example where creating PDFs from HTML using Adobe Acrobat through DotNet program if you have?

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
community guidelines
New Here ,
Feb 07, 2020 Feb 07, 2020

Copy link to clipboard

Copied

Hi, 

I have a similar need. I have a directory of .html output that I need to convert to a single pdf.  Ideally, the pdf should be accessible. We need this on an ad-hoc basis, it isn't part of our build process.

 

Thanks!

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
community guidelines
LEGEND ,
Feb 05, 2019 Feb 05, 2019

Copy link to clipboard

Copied

Acrobat is very definitely NOT for 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
community guidelines
LEGEND ,
Feb 06, 2019 Feb 06, 2019

Copy link to clipboard

Copied

There is no point, you can’t use Axrobat in your solution. Look for a third party converter intended and licensed 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
community guidelines
Adobe Community Professional ,
Feb 07, 2020 Feb 07, 2020

Copy link to clipboard

Copied

I don't know if this is relevant to your case, but the new Adobe Acrobat extension for Chrome based browsers allows you to do just that.

 

And if you want to stay all Microsoft as possible, the new MS Edge (which is chromium based browser) allows to install this Adobe Acrobat extension and many more from other stores, not just from the Micrososft store).

 

For example, if you browse to a URL that contains a PDF like this one : https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/PDFOpenParameters.pdf 

 

the extension gives you the option to open the PDF directly in Acrobat /Reader, in addition to continue to view it in the web broser.

 

But to answer your question, I went to this site (using both Chrome browser and the new MS Edge browser with the extension enabled): https://acrobat.adobe.com/us/en/acrobat/features.html?promoid=DRCF19VB&mv=other

 

And here is the PDF that was created from that site using the extension:

 

https://documentcloud.adobe.com/link/track?uri=urn%3Aaaid%3Ascds%3AUS%3A47292fa4-b113-4b91-bd78-45f4... 

 

When you open it with Acrobat all the links work.

 

NOTE:   Is funny though that Microsoft announced releasing support for this new MS Edge browser in Linux sometime soon. It was supposed to happen this January but apparently there are some delays. For now, this ability to convert website to pdf is only supported in Windows.

 

 

+++If you like my reply, specifically when I mentioned about Microsoft announced releasing support for this new MS Edge browser in Linux please give a thumbs up.   😄

 

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
community guidelines
Community Beginner ,
Aug 04, 2021 Aug 04, 2021

Copy link to clipboard

Copied

@ls_rblsif I understand your answer correctly you are talking about opening an existing pdf document inside the browser, whereas the question is about converting html pages to pdf documents.

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
community guidelines
Adobe Community Professional ,
Aug 05, 2021 Aug 05, 2021

Copy link to clipboard

Copied

LATEST

I did provided an incomplete answer at the tume if this thread back in 2020.

 

With the Adobe PDF Maker browser extension you can hit a URL in your browser and then select the option to convert that HTML website to a PDF document. 

 

I think I forgot to clarify that, by using this method, the newly generated PDF from an HTML website will open up automatically in your default PDF viewer.

 

This is handled at the operating system level, similar to the "Print to PDF" printing options, once the PDF conversion finalizes it will ooen up automatically in whichever PDF default handler you've selected via the OS.

 

The other HTML to PDF conversion method that I missed in my earlier replies that converting an HTML website (or page, or document) to PDF is also achieved with Adobe Acrobat Pro.

 

Here's the official Adobe Helpx guidance:

 

https://helpx.adobe.com/acrobat/using/converting-web-pages-pdf.html

 

 

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
community guidelines