Bug 154975 - All printing is in landscape format
Summary: All printing is in landscape format
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
7.5.0.0 alpha1+
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Print
  Show dependency treegraph
 
Reported: 2023-04-23 22:35 UTC by Lee
Modified: 2024-04-29 13:49 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lee 2023-04-23 22:35:32 UTC
Description:
I'm in the US so a page is 8.5 inches by 11 inches ie. letter size orientation PORTRAIT

Whether it is an existing Writer document or a simple document of a few lines, it looks portrait oriented but when printed to a physical printer, it comes out in landscape orientation.  Also a simple calc spreadsheet does the same thing.
This was first noticed going from XUbuntu 22.04 to 23.04.  I now find that even if such printing is done on the previous XUbuntu 22.04 system, it depends upon the version of LibreOffice. Through 7.4.6.2 all prints as expected.  Beginning with LO 7.5.0.0 (alpha) and a few releases through 7.6.0.0 - this situation is happening.

Steps to Reproduce:
1.Create a one line document or a one line few cell spread sheet
2.print in 'normal' portrait (8.5x11) format
3.

Actual Results:
Printed page is twisted left one quarter turn (ie landscape)

Expected Results:
A printed page that looks like the preview


Reproducible: Always


User Profile Reset: No

Additional Info:
This is happening on two systems that clearly do not have the same profile
Comment 1 Stéphane Guillou (stragu) 2023-04-24 14:01:03 UTC
I could not reproduce on Ubuntu 20.04 with GNOME 3.36.8 and:

Version: 7.5.3.1 (X86_64) / LibreOffice Community
Build ID: d29ee673721b12c92b3de9b9663473211414f0db
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

What I did:
1. New document, write some text
2. Format > Page Style > Page > Format: Letter
3. File > Print > Print to File, with Orientation Portrait or Automatic

Resulting PDF is in portrait mode, as expected.

Lee, please provide more information:
- Details copied from Help > About LibreOffice (as issue can be linked to locale)
- Printer model

Please also check that you've got the latest printer drivers.
Comment 2 Lee 2023-04-24 15:26:30 UTC
1. If printed as a PDF, all is well  portrait is portrait.  It's when selecting a real printer that the problem is observed.

2. This is happening on every version I've tried since the 7.5.0.0 (alpha).  The lastest version I have is something like 7.6.0.

3. This is happening on my XUbuntu 22.04 and on my XUbuntu 23.04.

4. Print drivers: 22.04 was probably set sometime last summer.  The other system (23.04) has got to be less than a week old since XUbuntu 23.04 is the April 2023 release of Ubuntu.  Both systems produce the same result.

5. The printers (there are two of them) are Canon Pixma iX6820.  The iX6820 is usually used for routine 8-1/2 x 11 printing.  It is capable of printing paper up to 13 inches wide and 22 inches long. I sometimes do print on tabloid (11x17) paper.
Comment 3 Stéphane Guillou (stragu) 2023-05-30 22:40:19 UTC
Could you please also test with a new profile or in Safe Mode to see if the issue persists? (Help > Restard in safe mode)
Comment 4 Lee 2023-05-31 02:29:55 UTC
(In reply to Stéphane Guillou (stragu) from comment #3)
> Could you please also test with a new profile or in Safe Mode to see if the
> issue persists? (Help > Restard in safe mode)

In short - no change, problem persists as of 7.5

In response to your request, my test efforts were with version 7.5.0.0.alph1, which is the first [oldest] version to introduce this problem.  Prior to testing, I set aside everything in ~.config/libreoffice/4 by renaming it.  I noticed that 7.5.0.0.alph1 was using ~/user instead.  I also renamed ~/user.  With this done, libreoffice was started with a fresh profile. The problem was no different.
Comment 5 Lee 2023-05-31 02:40:10 UTC
In my latest test as per the request of comment 3 - The physical page was printed portrait on a sheet of 8.5 x 11 paper HOWEVER, In order to get this correctly orientated page the paper was inserted into the printer sideways, that is, the paper was inserted so that it is wider than it is long (11 inches wide and 8.5 inches long).  The Canon iX6820 is capable of handling tabloid size paper.
Comment 6 Lee 2023-05-31 02:57:07 UTC
My printer is able to handle paper up to about 13 inches across. If I select tabloid page side (11x17), the page prints correctly.  I wondered if this was because the printer cannot print 17 inches across a page.  I also tried a legal size page - failed on that one even though 14 inches is too wide for my printer.  I have no idea why tabloid portrait would print correctly but both legal and letter sizes do not.
Comment 7 libreoffice 2024-01-02 22:50:41 UTC
I see this as well.
See 
  https://ask.libreoffice.org/t/portrait-prints-in-landscape-on-epson-3880/99616/2
Comment 8 Lee 2024-01-03 01:30:37 UTC
I see this evening someone has made a comment elsewhere they too have the problem.  
https://ask.libreoffice.org/t/portrait-prints-in-landscape-on-epson-3880/99616

My printers are Canon iX6820s.  This other person apparently has an Epson 3880.  This suggests the problem is not specific to a brand of printers.

Reviewing the specs of an Epson 3880 says it can handle 17x22 paper - approximately what a Canon iX6820 can also do.

This suggests the bug can only be observed using standard office paper on printers capable of handling tabloid size paper.

If I do print to tabloid size paper, it is done correctly.
Comment 9 libreoffice 2024-01-03 02:10:38 UTC
On my Epson 3880, 11x14 still prints as landscape, but 11x17 (tabloid) prints correctly.
Comment 10 Lee 2024-01-03 03:07:14 UTC
(In reply to libreoffice from comment #9)
> On my Epson 3880, 11x14 still prints as landscape, but 11x17 (tabloid)
> prints correctly.

Exactly the same as observed using Canon iX6820.  tabloid prints correctly however all smaller sizes are incorrect, including letter, legal and quarter sheets (4.25 x 5.5).
Comment 11 Lee 2024-01-03 03:08:31 UTC
Now that a second person has reported they too have the problem, I have changed status from unconfirmed to new.
Comment 12 Ismo 2024-04-03 17:48:57 UTC
I have the same problem with LibreOffice 7.6.5.2 on Kubuntu 23.10 with Epson Stylus Pro 3880 printer with CUPS and Gutenprint v5.3.4 driver. A portrait page on A4 paper prints out as landscape.