How to convert from HTML files to PDF files on Linux RHEL system?

Hi Team,

One of our client is looking for a tool that can convert the HTML files to PDF as part of an automation step. We have been shortlisting the tools for them and we have shortlisted verypdf as a potential tool set.

However we have been doing a proof of concept with the trial version before we make the selection. Unfortunately the expected outcome from the tool is not desirable. We want your help to confirm whether this is the expected behavior or it is a limitation of trial version. Please see the expected output and output we are getting from verypdf tool. This is stopping us to proceed with the tool. Appreciate your help here.

Please note - we have to select the tool by Wednesday (24th June) and hence a quick response will be appreciated.
Customer
-------------------------------------------
Thanks for your message, we suggest you may download "HTML Converter Command Line (htmltools.exe)" from following web page to try, you can use "HTML Converter Command Line (htmltools.exe)" to convert HTML files to PDF files easily,

https://www.verypdf.com/app/html-converter/try-and-buy.html#cmd
https://www.verypdf.com/htmltools/htmltools.zip

after you download it, you can run following command lines to convert HTML files to PDF files easily,

htmltools.exe test.htm _test1.pdf
htmltools.exe https://www.verypdf.com _web1.pdf

htmltools.exe -html2pdf2 test.htm _test_html2pdf2.pdf

htmltools.exe -webkit test.htm _test_webkit.pdf
htmltools.exe -webkit https://www.verypdf.com _web_webkit.pdf
htmltools.exe -webkit https://www.verypdf.com/artprint/docprintsdk.htm _verypdf_webkit.pdf

htmltools.exe -webkit2 test.htm _test_webkit2.pdf
htmltools.exe -webkit2 -width 1080 -height 1080 https://www.verypdf.com _web_webkit2.pdf
htmltools.exe -webkit2 -width 1080 -height 1080 https://www.verypdf.com/artprint/docprintsdk.htm _verypdf_webkit2.pdf

VeryPDF
-------------------------------------------
Hi Team,

Thanks for your assistance. Could you also please confirm whether the command line interface works from Linux RHEL system?

Thanks & Regards,
Customer
-------------------------------------------
Thanks for your message, htmltools.exe is a Windows application, it is not support Linux system yet.

However, we suggest you may download "VeryPDF HTML to Any Converter Command Line for Linux" from following web page to try, you can use "VeryPDF HTML to Any Converter Command Line for Linux" to convert web pages to PDF files easily,

https://www.verypdf.com/app/html-to-any/try-and-buy.html#buy-linux

VeryPDF
-------------------------------------------
Hi there team,

Further to the below correspondence, we have run though other aspects of consideration for the POC & request your feedback on the below.

We are using the "html2any" utility as this tool needs to be based in a Linux RHEL 5 environment.

1) Does the tool have any option to set footers in the resultant PDF?

a. The source HTML defines footer such as .

b. We observe that the footer is not carried over in the resultant PDF. Is there any option available in VeryPDF to take the footer into consideration?

2) Does the Very PDF have any capability to set maximum size of the output? (for eg 8 MB)

a. Any file greater than 8MB to be split into multiple files. Any such option available?

Thanks.
Customer
-------------------------------------------
>>1) Does the tool have any option to set footers in the resultant PDF?
>>a. The source HTML defines footer such as.
>>b. We observe that the footer is not carried over in the resultant PDF. Is there any option available in VeryPDF to take the footer into consideration?

Thanks for your message, HTML2Any is not support footer option yet.

>>2) Does the VeryPDF have any capability to set maximum size of the output? (for e.g., 8 MB)
>>a. Any file greater than 8MB to be split into multiple files. Any such option available?

Sorry, our HTML2Any software hasn't function yet.

VeryPDF
-------------------------------------------
Hi Team,

We are using the HTML2Any utility to convert HTML to PDF on RHEL environment as part of our evaluation. We noticed the below issue while trying to convert the HTML to PDF. Could you please check and advise if this is due to any limitation of the trial version of the tool?

· When we add more than one image with image properties as width=650 and height=800. The resultant PDF does not open (error message – “There was an error opening this document. The file is damaged and could not be repaired”).

We observe that if there is only one image with this image properties in the HTML, the PDF opens fine. I am wondering if this is any restriction on the trial version? Could you please advise.

· Additionally we would like to check if there is any option to configure a session time-out in the html2any utility? That is to say, if the tool takes longer than 'X' seconds to generate the output, then to abort the process.

Thank you for your assistance.

Regards
Customer
-------------------------------------------
Thanks for your message, you can use following parameters to control page width and height to output PDF file,

-page-height <unitreal> : Page height (default unit millimeter).
-page-width <unitreal> : Page width (default unit millimeter).

for example,

html2any -page-width 100 -page-height 100 https://www.verypdf.com/ out.pdf

HTML2Any utility for Linux hasn't an option to configure a session time-out yet, we will try to add this function into the future releases of HTML2Any utility for Linux. But our HTML Converter for Windows (htmltools.exe) is support this session time-out function, if you have a Windows Server, you can use this function by htmltools.exe application.

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!