HTML2ANY – WebKit – landscape printing

Hello,

We're using HTML2ANY in WebKit mode to convert HTML file to PDF.

The PDF output is always in Portrait mode, no matter if the instructions were Landscape.

Can you please clarify if WebKit mode supports Landscape and how we can achieve a Landscape PDF output?

https://www.verypdf.com/app/html-to-any/index.html
https://www.verypdf.com/app/html-to-any/try-and-buy.html#buy-win
https://www.verypdf.com/dl2.php/html2any-cmd-windows.zip

Thanks!
Customer
-------------------------------------

image
Thanks for your message, you may run following command line to convert your web page to PDF file in Landscape page orientation, the unit is in mm,

html2any.exe -page-width 279 -page-height 216 https://www.verypdf.com/ D:\downloads\_out-paper-size-in-mm.pdf

some more command line examples,

html2any.exe -page-width 215.9 -page-height 279.4 -margin-left 5 -margin-right 5 https://www.verypdf.com  _papersize_215.9x279.4mm.pdf

html2any.exe -page-width 216 -page-height 279 -margin-left 5 -margin-right 5 https://www.verypdf.com  _papersize_letter.pdf

html2any.exe -page-width 255 -page-height 365 -margin-left 5 -margin-top 5 -margin-right 5 -margin-bottom 5 https://www.verypdf.com  _papersize_letter_255x365mm.pdf

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!