Bug 37491

Summary: LibreOffice breaks page size when printing A3
Product: LibreOffice Reporter: Marc Muehlfeld <marc.muehlfeld>
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: LibreOffice
Priority: medium    
Version: 3.3.2 release   
Hardware: x86 (IA32)   
OS: Windows (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: LO_Screenshots_of_the_problem.pdf
Sample document and print result, please see Comment 1
Sample_Document.odt
Print_result.pdf
Test_on_Win7_with_Sharp_MX2600_driver.ps
Screenshot_of_GhostView.png
Testkit_Result_on_Win7_Sharp_MX2600.png

Description Marc Muehlfeld 2011-05-23 02:22:06 UTC
Created attachment 47031 [details]
LO_Screenshots_of_the_problem.pdf

Since 3.3.0 it's not possible to print A3 landscape any more if. The program breaks the page layout and drop parts of the page.

- Set page size to A3, landscape.
- Fill one line with text.
- Go to the printing dialog.
- Go to the printers properties, set page size to A3 and choose a cassette.
- After closing the printer properties dialog, the preview page shows not any more the A3 proportions. It shows just a different format. And exactly what you see in the preview, is what is printed. About 1/3 of the page got lost!

(I added a PDF with screenshots of the steps so it should be easier to reproduce).

This problem first appears in 3.3.0 of LibreOffice and OpenOffice. It doesn't exist in any version of OpenOffice before and in no other programs.

This problem is not related to any special printer. It happens with every printer I have tried and that is able to print on A3 (like Sharp MX-2600n, Xerox Document Center 230, HP Color LaserJet 8500,...)
Comment 1 Rainer Bielefeld Retired 2011-05-23 04:10:30 UTC
NOT reproducible with "LibreOffice 3.4.0RC1  – WIN7  Home Premium  (64bit) German UI [OOO340m1 (Build:11)]" and 2 PS printers (have no real A3 printer). My "mytest.odt" has been printed with FreePDF to PDF (IMHO using an Apple PS printer river) and "Dell Open Print Driver" to A3 landscape without problems, pls see my test kit!

@Marc Muehlfeld:
Can you please check with 3.4 soon?
Comment 2 Rainer Bielefeld Retired 2011-05-23 04:12:02 UTC
Created attachment 47034 [details]
Sample document and print result, please see Comment 1
Comment 3 Marc Muehlfeld 2011-05-23 04:34:35 UTC
I downloaded and tried the 3.4.0rc1:

- The preview is fine now and doesn't show a wrong format after changing to A3 and the tray.
- Printing the page via PDFcreator (set to A3 in the page ) is fine - But here I don't have a change to set the tray in the properties - just the pagesize.
- Printing to a real printer (Here we have a Sharp MX 2600n) is still droping 1/3 of the page. I ll attach the scanned print result.
Comment 4 Marc Muehlfeld 2011-05-23 04:35:22 UTC
Created attachment 47035 [details]
Sample_Document.odt

This is the test document I try to print.
Comment 5 Marc Muehlfeld 2011-05-23 04:36:57 UTC
Created attachment 47036 [details]
Print_result.pdf

And this is what I get on my printer when I print the file "Sample_Document.odt" after choosing A3 and choosed the A3 tray. 1/3 on the right side is lost.

Testing done on 3.4.0rc1 (german)
Comment 6 Rainer Bielefeld Retired 2011-05-23 04:55:08 UTC
Looks fine for me with reporter's Sample_Document.odt in PS print with "Dell Open Print Driver". 

Fixed in 3.4 or something common with reporter's OS settings?
Comment 7 Marc Muehlfeld 2011-05-23 05:14:51 UTC
We have this problem here on all machines (all XP SP3).

I'll test it tonight at home on Win7, too.
Comment 8 Rainer Bielefeld Retired 2011-05-23 09:36:49 UTC
@Marc:
It would be great if you also could try 3.4RC1, and may be with a Printer I also tested.
Comment 9 Marc Muehlfeld 2011-05-23 10:31:46 UTC
Created attachment 47057 [details]
Test_on_Win7_with_Sharp_MX2600_driver.ps

My test results on Windows 7 64-Bit Home Premium using the 64-Bit PS driver of Sharp MX 2600:

I redirected the printers output to a file and opened it using GhostView 4.9/Ghostscript 9.02. Also here a part of the right side got lost. Find attached the PS file.
Comment 10 Marc Muehlfeld 2011-05-23 10:33:41 UTC
Created attachment 47058 [details]
Screenshot_of_GhostView.png

I attached a screenshot of the Test_on_Win7.ps file in GhostView (for all of you who don't want to install GS/GV to see what I see).
Comment 11 Marc Muehlfeld 2011-05-23 10:47:26 UTC
I installed the Dell Open Printer Driver on my Win7 64-Bit and configured it to send it's output to a file. I can go to the printer settings and choose A3 and tray (e. g. "2"), but when I click to OK for printing, LibreOffice always crashes:

Problemsignatur:
  Problemereignisname:	BEX
  Anwendungsname:	soffice.bin
  Anwendungsversion:	3.4.11.500
  Anwendungszeitstempel:	4dd3cd6d
  Fehlermodulname:	MSVCR90.dll
  Fehlermodulversion:	9.0.30729.4940
  Fehlermodulzeitstempel:	4ca2ef57
  Ausnahmeoffset:	0006ccb5
  Ausnahmecode:	c0000417
  Ausnahmedaten:	00000000
  Betriebsystemversion:	6.1.7601.2.1.0.768.3
  Gebietsschema-ID:	1031
  Zusatzinformation 1:	1a8f
  Zusatzinformation 2:	1a8f38db27af3fd33457b1f3eee55ea1
  Zusatzinformation 3:	2fb1
  Zusatzinformation 4:	2fb16461865ef09a5a3cc5cd947b1f06
Comment 12 Rainer Bielefeld Retired 2011-05-23 10:50:41 UTC
@Marc:
That's ugly!
Thank you for your tests, but I will not count "Test"-Words. With what LibO version did your test?
What is you result with .odt from my test kit?
Comment 13 Marc Muehlfeld 2011-05-23 11:47:27 UTC
You don't have to count. You can easily see on the screenshot (or in GhostView), that the right side was cut. There's no border and at least one word "Test" was cut in the middle.

Sorry, I forgot to tell: I tried LibreOffice 3.4.0rc1
Comment 14 Marc Muehlfeld 2011-05-23 11:49:03 UTC
Created attachment 47063 [details]
Testkit_Result_on_Win7_Sharp_MX2600.png

This is a screenshot of GhostView after printing your testkit on Win7 64-Bit Home Premium on a Sharp MX2600 to a file. 

Also LibreOffice 3.4.0rc1.
Comment 15 Rainer Bielefeld Retired 2011-05-23 22:16:05 UTC
I still have some problems to understand your problem. "Test_on_Win7.ps" looks ok for me (I did not check "Screenshot_of_GhostView.png"), shown "portrait" (that differs from my test results), but with all contents.

Your bad result is evident, but although I did several measurement I did not find out why. All in your screenshot-documents:
Screenshot: paper width / height seems ok
words height / length: ok
Word length / height ok
Length second line / paper width: ok

But at lease 1 abnmormality seems to be visible, I compared length of second line to paper length and found
0,396 in my ps view
0,562 in your screenshot 
At least the length of the text seems increased

What ever that might mean.
Comment 16 Marc Muehlfeld 2011-08-18 23:47:01 UTC
The latest version 3.4.2 of LO doesn't have this bug any more.
Comment 17 Rainer Bielefeld Retired 2011-08-19 00:13:48 UTC
We should used FIXED only if a known fix has solved the problem; if the problem only disappeared without known reason, please use WORKSFORME.
Comment 18 Björn Michaelsen 2011-12-22 05:51:32 UTC
RESOLVED, FIXED or CLOSED bugs cant be KEYWORD NEEDINFO.