Bug 141017 - Error Printing Landscape (windows only)
Summary: Error Printing Landscape (windows only)
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.1.2 release
Hardware: All Windows (All)
: high normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
: 139309 (view as bug list)
Depends on:
Blocks: Print
  Show dependency treegraph
 
Reported: 2021-03-14 11:16 UTC by Dimitri Junker
Modified: 2024-06-27 23:27 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
From page 1 only the left 20cm are printed (118.35 KB, application/vnd.oasis.opendocument.text)
2021-03-14 11:16 UTC, Dimitri Junker
Details
Preview in Print dialog (55.03 KB, image/png)
2021-04-15 06:23 UTC, Aron Budea
Details
from sxw converted File with new changes (115.61 KB, application/vnd.oasis.opendocument.text)
2021-04-30 11:19 UTC, Dimitri Junker
Details
Here the pdf (85.63 KB, application/pdf)
2021-04-30 11:29 UTC, Dimitri Junker
Details
The sxw file (98.04 KB, application/vnd.sun.xml.writer)
2021-04-30 11:30 UTC, Dimitri Junker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dimitri Junker 2021-03-14 11:16:44 UTC
Created attachment 170475 [details]
From page 1 only the left 20cm are printed

This error is new, it worked fine until the last Update.
I have a Text in Landcape DIN A4, if I Print it an a HP OfficejetPro 8600 Only the leftmost 20cm are printed, so the area which also would fit on a Portrait page. But the Orientation is OK, So the right 10cm stay blank. The Print Preview is OK too. I also can export it to PDF and print it using Acrobat Reader. So it must be a problem in the printing routines.
I add the File
Comment 1 Timur 2021-03-15 09:02:56 UTC
No repro 7.0.0.Repro 7.1 and 7.2+ with PDF printer. Can be see in File-Print preview window (not Print Preview). I set New abd bibisectRequest
Comment 2 Aron Budea 2021-04-04 18:37:49 UTC
Bibisected this to the following commit using repo bibisect-win64-7.1 (while not mentioned in the report apart from the OS field, the bug seems to be Win-only). Adding CC: to Samuel Mehrbrodt.

https://cgit.freedesktop.org/libreoffice/core/commit/?id=3cfc390ecd7c7e9095c77383c460c522437bdabe
author		Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>	2020-07-09 08:32:38 +0200
committer	Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>	2020-07-13 07:38:22 +0200

tdf#134646 Remove "nearest paper matching" feature
Comment 3 Samuel Mehrbrodt (allotropia) 2021-04-15 05:56:51 UTC
I can't reproduce that.
Can you attach a screenshot how your print preview looks like?
Comment 4 Aron Budea 2021-04-15 06:23:46 UTC
Created attachment 171213 [details]
Preview in Print dialog

Sure, I was looking at the preview in the Print dialog, which looks as in the attached screenshot, taken from a fresh daily build.
Comment 5 Samuel Mehrbrodt (allotropia) 2021-04-15 11:31:50 UTC
(In reply to Aron Budea from comment #4)
> Created attachment 171213 [details]
> Preview in Print dialog
> 
> Sure, I was looking at the preview in the Print dialog, which looks as in
> the attached screenshot, taken from a fresh daily build.

Thanks.
Maybe it needs some follow up fix, that the printer default paper is chosen when no matching paper can be found.

@Dimitri: Btw, you can probably work around this issue by correctly setting the page size to A4 in Writer Page properties.
Comment 6 Timur 2021-04-19 13:46:38 UTC
This is not Writer only, Impress sample is attachment 165651 [details] from bug 136873. 
Orientation Automatic is wrong and change to Portrait or Landscape doesn't help.
Comment 7 Timur 2021-04-22 13:33:12 UTC
*** Bug 139309 has been marked as a duplicate of this bug. ***
Comment 8 Dimitri Junker 2021-04-30 11:19:04 UTC
Created attachment 171524 [details]
from sxw converted File with new changes

I loaded an old sxw file, made same changes and saved it as odt. When I try to print it only the left 20cm are printed
Comment 9 Dimitri Junker 2021-04-30 11:23:53 UTC
For some time I had no Problem, but yesterday it happend again. So I started thinking what was different. It was originaly an old sxw File from 2003. So maybe the real Problem starts with the sxm import. It contains a Cover for a DVD which I changed a little bit and than printed it. New ones with the same Layout work fine.
The same error ocures when I print it with pdfcreator.
I'll add the sxw, odt and pdf as Attachments
Comment 10 Dimitri Junker 2021-04-30 11:29:13 UTC
Created attachment 171525 [details]
Here the pdf

This pdf was created using pdfcreator printing the odt-file
Comment 11 Dimitri Junker 2021-04-30 11:30:20 UTC
Created attachment 171526 [details]
The sxw file

And finaly the original sxw File
Comment 12 Justin L 2021-11-25 11:47:35 UTC
It would be worth testing this in master again - some changes have been made in impress at least.
Comment 13 Timur 2022-04-05 12:11:36 UTC
Repro 7.4+ for ODT attachment 170475 [details] and attachment 171526 [details].
This remains Writer bug, as Impress sample attachment 165651 [details] from bug 136873 is better, Print doesn't cut now, on the contrary it leaves space.
Comment 14 QA Administrators 2024-06-02 03:14:29 UTC Comment hidden (obsolete)
Comment 15 Dimitri Junker 2024-06-27 23:27:51 UTC
I reloaded the sxw file from comment 11 and printed it out with no problem, so the bug seems zo be fixed