Skip to main content
Participant
February 5, 2019
Question

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

  • February 5, 2019
  • 4 replies
  • 6120 views

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?

This topic has been closed for replies.

4 replies

ls_rbls
Community Expert
Community Expert
February 7, 2020

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-45f43806826f 

 

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.   😄

 

Known Participant
August 4, 2021

@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.

ls_rbls
Community Expert
Community Expert
August 5, 2021

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

 

 

Legend
February 6, 2019

There is no point, you can’t use Axrobat in your solution. Look for a third party converter intended and licensed for this.

Legend
February 5, 2019

Acrobat is very definitely NOT for server use.

gary_sc
Community Expert
Community Expert
February 5, 2019

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?

Participant
February 6, 2019

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?