how to convert to pdf from html with landscape using command line on windows

Hi,

I want to convert a html file to pdf using command line on windows. But my html page doesn’t fit portrait so I want to change it to landscape using an option if it is possible.

I am using “…\soffice.exe” --headless --convert-to pdf …\b.html