how can I convert HTML to PDF programatically using Adobe pro PDF
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?
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?
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?
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!
Copy link to clipboard
Copied
Acrobat is very definitely NOT for server use.
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.
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:
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. 😄
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.
Copy link to clipboard
Copied
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

