Page 1 of 1

Convert HTML pages to a PDF file

Posted: Mon Jul 19, 2021 8:32 am
by catherine
Hi,
Is there any way to convert HTML pages to a PDF file.
For now, we write scripts to generate PDF files and automatically send the PDF files to our remote server.

I also find that there is a PDF button besides the Print button on Oxygen online documentation.
Like this page:
https://www.oxygenxml.com/doc/versions/ ... ml5-2.html

May I know how do you achieve it?
Did you send PDF files to a server and then users get the PDF file from the server, or is the PDF file automatically converted the moment users click the PDF button?

Thanks,
Catherine

Re: Convert HTML pages to a PDF file

Posted: Mon Jul 19, 2021 10:40 am
by julien_lacour
Hello Catherine,

Sure there is a way: you may use Oxygen PDF Chemistry which uses CSS in order to transform XML or HTML in PDF.
You will find more information here: https://www.oxygenxml.com/chemistry-htm ... erter.html

You can use it with command line in order to integrate it into your publishing workflow.

Regards,
Julien