How do I stop it from printing in landscape mode instead of portrait mode?

What if Format–Page is greyed out???

You surely understand that this is not a common behaviour of LibO ‘Writer’ which is used successfully by millions of people (among them myself) for printing in either page orientation, also mixed from the same document. Thus the problem you have must be due to specifics of your OS / printer / printer driver / LibO installation / your documents (settings protections / …). Not knowing these specifics an answer might be impossible.

Did you already try to (e.g.)

  • reset your user profile?
  • take your file to another computer (with a printer) and test there?
  • completely uninstall your printer and reinstall it?
  • look for an improved driver for your printer?
  • completely uninstall (by means of your OS) LibO and reinstall the current version from scratch?
  • print some newly created ‘Writer’ documents without much content?

How nice for you Lupp. But the problem really is with your beloved LibreOffice. I downloaded an older version and the problem resolved itself.

How nice for you Lupp. But the problem really is with your beloved LibreOffice. I downloaded an older version and the problem resolved itself.

Not in the mood for kidding.
There are many reports meanwhile seeing this problem very specifically related to LibO under some Mac OSX versions when using the outdated US paper sizes (Letter e.g.).
If you are on a different OS and use internationally standardised paper I don’t have further advice.
(Decades ago were many issues related to cases where some parts of a software didn’t know of updates creating mandatory indirections concerning attributes formerly set directly. A revival? )

For me this permanently-stuck-in-Landscape print-problem occurs on two physically different Apple computers, running two different MacOS versions (namely 10.11.6 (El Capitan) and 10.12.6 (Sierra)), running two different LibreOffice versions (namely 5.3.6 and a fresh-install of 5.4.2). After a lot of experimentation, I found a workaround, that is posted below.

@JohnSidles: The post you commented on here, wrongly created as an answer, addressed a different issue. Or did you ever find the sub-menu item ‘Format’ > ‘Page…’ disabled in relation to your issue?
(Your workaround may help nonetheless in this case.)

It is an issue with LibreOffice. Go to Format>Page and change the Format from Letter to A4

Go back to your print screen and all should be right in the world.

I don’t have enuf points to upvote (bogus), but wanted to thank you for your answer. It’s amazing that no matter how high-tech we get, it’s always printing that drags us back to stone knives and bearskins mode.

Thank you for your advise! Changing the page format from Letter to A4 solved my printing problem. Now I can print in portrait mode instead of landscape.

Add my thanks; I was seeing the problem on all documents. It would even do it saving as PDF. Selecting A4 format, clicking apply, then selecting back to “Letter” (so my printer wouldn’t choke) fixed the problem.

Same problem with LO 5.4.1. I downloaded Version 5.3.4.2 and it prints fine.

Problem continues with LO Version: 5.3.6.1. Switching to A4 worked.

Suppose you were on ‘Letter’ (8.5 inch width by 11.0 inch height; 215.9 by 279.4 mm).
A workaround I would suggest but cannot test myself is to omit the predefined setting for width and height and to replace them by slightly reduced values. Reduce each by a 1/100 of an “inch”, and the printing to vertical pages should work.

The far better variant is, of course, to shift to the internationally standardized A4 if you have a chance to pull it through.

Please regard the recent amandments to my previous answer.

Thanks for this workaround. One problem I see is that once the bug particular to this problem is fixed, individuals might have to reset their templates back to the original dimensions.

Another workaround is to bring up the printer page, then click on “more.” click on Brochure. click on 2 sides, click Brochure off. The format has been corrected and you can print in Portrait. Unfortunately you have to do this every time you print anything.

MacBookPro Mid 2015, macOS 10.13.3, LibreOffice v5.4.5.1.

Opening a few existing Writer documents and a newly created one shows portrait as expected, so I’m not having a problem there.

Landscape issue still exists when opening existing spreadsheets, but newly created/saved spreadsheets are showing portrait properly. Tested using both .xlsx and .ods formats.

With this in mind, I ‘Saved As…’ a couple spreadsheets to see what would happen. Saving as .xlsx shows portrait, saving as .ods shows landscape, whether in the same or a different directory. Based on that, I’d say the issue now lies with existing .ods files created using version 5.2.7 (most likely). To support this claim, I copied & pasted the entire contents of an existing .ods into a newly created .ods…portrait!

In all my testing, I completely ‘Quit’ LibreOffice each time.

Hopefully this is a repeatable thing and the developers can find a fix! I’d rather not have all my users copy+paste a bunch of files or even re-save them in another format.