Bug 167906 - printing labels wrong orientation
Summary: printing labels wrong orientation
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
25.2.5.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-11 13:17 UTC by Dr. Martinus
Modified: 2025-10-26 09:51 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Print dialog and the document orientation (165.77 KB, image/png)
2025-10-26 09:50 UTC, Dr. Martinus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dr. Martinus 2025-08-11 13:17:24 UTC
Description:
I thought there was a report about this already, but it doesn't show up when I search for it. I need to print labels with a label printer (brother QL-570), and LO has consistently (maybe with a few exceptions in between, some time ago) neglected the set paper orientation. The document is set to be 62mm x 29mm, 62 being the width, and 29 being the height. Such orientation I call landscape (against portrait, where 62 mm would be the height and 29 mm the width). 
The text is within the set parameters. When I open the print dialog, the label is shown in portrait mode, the text is cut off accordingly. Depending on what I do then, the text moves from the top to the middle. I do not know exactly under which circumstances, but it happens. I try to change the format in "printer settings", where I can also tick "use only printer setting for paper format", but LO keeps it in portrait orientation. Meanwhile, the paper format in LO's printer dialog (further down, page layout) has changed to 17x54 mm. If I change it back to 29x62 mm (landscape), it's again in portrait mode, cutting off the text.

Steps to Reproduce:
1. Create a label in landscape, using the default format 29x62 mm, in landscape orientation
2. open the print dialog
3.

Actual Results:
the label is shown in portrait orientation and does not change its orientation, no matter what changes are made to printer settings or others.

Expected Results:
The label is shown in landscape format and printed as such.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 25.2.5.2 (X86_64) / LibreOffice Community
Build ID: 520(Build:2)
CPU threads: 12; OS: Linux 6.15; UI render: default; VCL: kf6 (cairo+wayland)
Locale: de-DE (de_DE.UTF-8); UI: de-DE
25.2.5-1
Calc: threaded

I did not reset my user profile.
Comment 1 Buovjaga 2025-10-24 16:23:56 UTC
I wonder, if the fixes toward bug 166185 had any effect here. An appimage of a daily build is one way to test on Linux: https://wiki.documentfoundation.org/Installing_in_parallel/Linux#Automated_installation
Comment 2 Dr. Martinus 2025-10-25 09:52:03 UTC
Until recently, I had still the same problems. Just now I tried it again with one label and it seems to work properly. I need to do some checks with other labels, before I can say it works in all cases. 
The version I have tried it with is as follows:

Version: 25.8.2.2 (X86_64) / LibreOffice Community
Build ID: 580(Build:2)
CPU threads: 12; OS: Linux 6.16; UI render: default; VCL: kf6 (cairo+wayland)
Locale: de-DE (de_DE.UTF-8); UI: en-US
25.8.2-3
Calc: threaded
Comment 3 Dr. Martinus 2025-10-26 09:50:00 UTC
Created attachment 203554 [details]
Print dialog and the document orientation
Comment 4 Dr. Martinus 2025-10-26 09:51:06 UTC
Today I had a chance to print another label - i.e. to try to print another label. This one was to be printed in landscape, i.e. text orientation is shifted by 90° from the edges of the roll (length/height is customizable, the width is fixed 62 mm). LO always shows the label as having 29 mm as width (which is the set length), and the length as 62 mm. The text is oriented always as if it is printed across the 29 mm width, thus going far beyond the right edge of the paper. If I change orientation or use printer settings etc., the text moves from the top of the label to the center, but the label itself remains 29x62 mm instead of 62x29 mm (width x height).
Therefore: it seems to work if the text is printed along the left and right edge of the roll (that is what I had yesterday), but not if the text is turned by 90° from the left edge. 
I'll attach an image, maybe it shows the problem.