4

I am using libreOffice on CentOS to convert rtf and html to PDF using:

swriter -convert-to pdf:writer_pdf_Export doc_file.doc

all is working great but I cannot find any command line option to change the pdf from portrait to landscape.

Is that even an option?

user1934737
  • 107
  • 1
  • 2
  • 10

1 Answers1

2

You can use unoconv with a template (.ott) that has the page style set to landscape.

More info about unoconv.

Nickmancol
  • 1,034
  • 7
  • 16