Bug 157213 - Preview and print don't change orientation
Summary: Preview and print don't change orientation
Status: RESOLVED DUPLICATE of bug 154959
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.5.6.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-12 19:46 UTC by documentfoundation
Modified: 2023-09-27 17:16 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Oroginal template from Brother suitable for label size (7.38 KB, application/octet-stream)
2023-09-12 19:47 UTC, documentfoundation
Details
Screenshots of steps and dialogs (470.35 KB, application/octet-stream)
2023-09-12 19:50 UTC, documentfoundation
Details

Note You need to log in before you can comment on or make changes to this bug.
Description documentfoundation 2023-09-12 19:46:14 UTC
Description:
On a label printer, the print orientation can not be changed in the printing dialog.
Printing is not possible.

I've tested an older version of LO too.

It worked some time before. I did not change my templates.

On a new document LO Writer does not allow me to set a custom page size height lower than 4.1 cm. But 2.9cm is required on my label printer and may be the reason for the bug.

Printer driver: https://aur.archlinux.org/packages/brother-ql500

I'll attach screenshots
==========
Version: 7.6.0.3 (X86_64) / LibreOffice Community
Build ID: 60(Build:3)

Version: 7.5.6.2 (X86_64) / LibreOffice Community
Build ID: 50(Build:2)


CPU threads: 8; OS: Linux 6.4; UI render: default; VCL: kf5 (cairo+xcb)
Locale: de-DE (de_DE.UTF-8); UI: de-DE
7.6.0-3
Calc: threaded


Steps to Reproduce:
1. Open the template in LO Writer
2. Open print dialog
3. Select different printer, Brother QL-500 in my case
4. Test all items in dropdown "Orientation"

Actual Results:
Neither the content nor the short and long side switch orientation.
The print is identical to the preview.

Expected Results:
Same as when selecting another printer having A4 format.
Switching between landscape and portrait switches long and short side and keeps content unrotated.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
[Information automatically included from LibreOffice]
Locale: de
Module: TextDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes
Comment 1 documentfoundation 2023-09-12 19:47:28 UTC
Created attachment 189528 [details]
Oroginal template from Brother suitable for label size
Comment 2 documentfoundation 2023-09-12 19:50:05 UTC
Created attachment 189530 [details]
Screenshots of steps and dialogs
Comment 3 Stéphane Guillou (stragu) 2023-09-27 14:56:45 UTC
(In reply to documentfoundation from comment #0)
> On a new document LO Writer does not allow me to set a custom page size
> height lower than 4.1 cm. But 2.9cm is required on my label printer and may
> be the reason for the bug.

I suspect the 4.1 cm minimum is because you have 2-cm margins at the top and bottom of the page, is that right? What if you remove the margins?
Comment 4 documentfoundation 2023-09-27 15:02:59 UTC
> I suspect the 4.1 cm minimum is because you have 2-cm margins at the top and bottom of the page, is that right? What if you remove the margins?

Correct. Could set smaller dimensions. But does not fix the main bug.
Comment 5 Stéphane Guillou (stragu) 2023-09-27 17:16:24 UTC
I can't confirm the issue because I don't have a similar printer that provides such a format. In my testing, even though my printer does not support such a format, it make the content fit on a landscape A4 page by default ("Automatic" orientation), so seems to behave properly as your template uses Landscape orientation for the Page Style (I tested 7.5, 7.6 and master).

This might be specific to this type of printer, I see someone else has the same issue with a Brother QL700 in bug 154959.

I will mark as a duplicate, confirm the bug there, and can you please test earlier versions to see when it started, for example 7.4.7.2 at the bottom of this page? https://www.libreoffice.org/download/download-libreoffice/

Please comment about your results in bug 154959.
Thank you!

*** This bug has been marked as a duplicate of bug 154959 ***