Printing a Landscape Portrait writer document that doesn't switch back to portrait

Would users considering to add to this thread please note that it is more than three years old now and that there were many threads about related topics opened and answered since.

I made a test in LibO 4.3.6.2 using and XP machine.

Created text document (Lorem Ipsum) of 12 pages. Pages 9 and 12 are landscape. No graphics.

Export to pdf is correct, print to pdf995 is correct. Preview is correct.

I hope this information helps. May I propose to file a bug report here: https://bugs.documentfoundation.org/
Please note that for selecting the LibO version you need to scroll the Version list up

Thanks @ROSt53. Would be curious to know if XP vs Win7 vs Win81 is what changed. I added a comment to the question above.

@Rugslug - Great you could identify the problem.

Unfortunately I have only an XP machine and I am on my way to move far away from Windows to Linux… Maybe someone else can make the tests for which you are curious about.

I made a test file with PPLPLP pages and it converted well to PDF in LO 5.2.3.3 on Windows 10.

I still have the issue. Once my file goes from portrait to landscape, the remaining pages stay in landscape. In the Print dialog, as I scroll through the pages, again, once it switches to a landscape page, all pages are displayed in landscape – even the initial pages that were in portrait. If I Export to PDF, it works great, but when printed to paper or PDF Creator, the bug persists.

Have you upgraded to the latest version yet?

Yes. 5233 and 5300beta1 on Windows 10.

You save in like docx?

It is saved in odt format.

Do all sub docs start with a page style break with associated page style?

My file is a single file.

It’s probably something in that file then. Start a new, blank document in Writer. Copy/paste the entire old file into the new one. Try again with the new file. Alternatively, try a new file with dummy text and landscape and portrait pages and see if that doesn’t work either.

I created a new file on a separate computer with Portable Apps v5.2.3.3. PPPLPLP. It results in the same issue. The preview in the print dialog switches everything to landscape; a print to a PDF file has all pages after the first 3 in landscape; Exporting to PDF results in the correct layout.

Maybe it’s the printer settings then.

The latest test was on a separate computer outside of my house with the default printer settings. I still believe it is a persistent bug since 4.2.8 as I have no problems on that version.

The latest test was on a separate computer outside of my house with the default printer settings. I still believe it is some kind of persistent bug since 4.2.8 as I have no problems on that version.

I found this bug report bug 92190.

I made the adjustments mentioned in comment 14, workaround 2. And it worked. Suggestion is to adjust the page size smaller by .01 inches. Instead of 8.50 x 11.00 I have 8.49 x 11.48. I wonder if @anon87010807 and @ROSt53, you use A4 paper and it doesn’t affect it?

I printed to PDF.

A solution was discovered in another thread. Either @floris-v or @owenp or someone else? figured out that if the sheet width is set to a size other than 8.50 (Letter Size), the printing works properly. This bug still exists in 5.4.0.0 alpha1

I did some testing with the following results:

Changing the Portrait Page size to 8.48 or 11.48 or anything not 8.50 x 11.50 seems to fix the problem.

Adjusting only the Landscape Page size to anything other than 8.50 x 11.50 did not fix the problem.

This seems to be a Letter size in portrait orientation issue.