Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

New Here ,
Feb 05, 2019 Feb 05, 2019

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
5.6K
Translate
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 Expert ,
Feb 05, 2019 Feb 05, 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?

Translate
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

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?

Translate
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

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!

Translate
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

Acrobat is very definitely NOT for server use.

Translate
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

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

Translate
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 Expert ,
Feb 07, 2020 Feb 07, 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-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.   ðŸ˜„

 

Translate
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

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

Translate
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 Expert ,
Aug 05, 2021 Aug 05, 2021
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

 

 

Translate
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