Bug 49946

Summary: landscape PRINTING result on portrait paper sheet for 2 pages per sheet (Brother MFC-J6510DW)
Product: LibreOffice Reporter: stof999
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: high CC: barta, dparsons, jmadero.dev, LibreOffice, rgloor, vytautas1987
Version: 3.5.3 release   
Hardware: Other   
OS: Linux (All)   
Whiteboard: BSA Confirmed:4.1.3.2:Linux
i915 platform: i915 features:
Attachments: current and expected behavior

Description stof999 2012-05-15 02:29:54 UTC
Problem description: 

with LibreOffice 3.5.3.2 
Build-ID: 235ab8a-3802056-4a8fed3-2d66ea8-e241b80

print 2 pages per sheet on a brother MFC-J6510DW:
- OOO uses by default orientation landscape. print output: sheet=portrait with 1 1/2 pages (1/2 is truncated) centered in portrait orientation.
- change orientation manually to portrait: print output: sheet=portrait with 2 pages centered in portrait orientation.

Brother_MFC-J6510DW is a strange printer! paper feed an ADF is rotated by 90° against each other.
but only the printer should be interested in that.

print 2 pages per sheet from a pdf-file printed with okular (kde pdf-reader) works fine.


Steps to reproduce:
1. ....
2. ....
3. ....

Current behavior:
sheet=portrait with 1 1/2 pages (1/2 is truncated) centered in portrait orientation.

Expected behavior:
sheet=landscape with 2 pages in portrait orientation

Platform (if different from the browser): 
              
Browser: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20100101 Firefox/12.0
Comment 1 stof999 2012-05-15 02:41:02 UTC
Created attachment 61672 [details]
current and expected behavior
Comment 2 Drew Parsons 2012-06-13 21:54:06 UTC
I'm experiencing this bug too.  When printing two pages per sheet, the output is misoriented, such that the two pages are [partially] printed in landscape where the sheet has portrait orientation.  That is, the text is restricted (and truncated) to a band across the middle of the sheet.

The printing engine is not rotating the text appropriately in order to fit two pages on one sheet.

The printing error happens exactly the same regardless of the setting of Paper Orientation in the printer Properties, whether portrait or landscape is used there.
Comment 3 Drew Parsons 2012-06-13 21:59:36 UTC
Incidentally Bug #46341 sounds like the same bug.
Comment 4 Rainer Bielefeld Retired 2012-06-22 10:00:51 UTC
Works perfect with parallel installation of Master "LOdev " 3.7.0.0.alpha0+   - WIN7 Home Premium (64bit) ENGLISH UI [Build ID: 8d39b7]" (tinderbox: W2008R2@16-minimal_build, pull time 2012-06-20 04:38:46) and Oki 14ex (others not tested).

@Drew Parsons
With info concerning OS, LibO version, Printer and so on your Comment 2 would have been much more valuable.

@Reporter: 
that 2 pages per sheet function also is available for Calc, Draw, ... . Is your problem really limited to Writer?
Comment 5 Rainer Bielefeld Retired 2012-06-22 10:31:59 UTC
*** Bug 46341 has been marked as a duplicate of this bug. ***
Comment 6 stof999 2012-06-24 22:31:54 UTC
the problem occurs also in impress!
so involved component of reported bug should be changed to "Printing" ???
Comment 7 Rolf Gloor 2013-02-21 08:10:05 UTC
problem still exists with:

with LibreOffice 4.0.0.3  under Linux (openSUSE 12.2 with all patches)


works fine when creating a normal (non-multipage) PDF and printing PDF with Okular or AdobeReader.
Comment 8 Rolf Gloor 2013-02-21 08:24:54 UTC
PDF multipage test:

Since the build-in PDF creator does not support printing multipage, I printed a PDF using CUPS and Ghostscript.
So one could utilize the regular LibreOffice Print dialog.

There, printing 2 pages per sheet worked fine.

So the multipage printing problem persist when directly printing to (certain)  printers.


PS: Me too, having a brother MFC (MFC-8460N).
    However, multpage printing with other programms works.
    (Okular, AdobeReader, Kwrite, etc.)
Comment 9 Joel Madero 2013-02-21 18:50:38 UTC
Version is the oldest version that we see the issue, not the latest we've tested. We just use comments to say we've tested on a newer release and it's still a problem. 

Changing version back.
Comment 10 Fargus 2013-06-12 21:53:19 UTC
I confirm that the problem still exists with:
4.0.3.3 LibreOffice on Linux x86_64 and HP printer.
OpenOffice 3.3 doesn't have this bug.
I use OpenOffice to print, or (as was written above) export to pdf and print pdf 2-in-1.
Comment 11 Joel Madero 2013-06-12 21:55:14 UTC
Why is it marked assigned now? Who is it assigned to?
Comment 12 Fargus 2013-09-06 20:29:33 UTC
4.1.1.2 The problem still exists. Solve, please.
Comment 13 Joel Madero 2013-09-06 20:30:43 UTC
Patches are more than welcome....feel free to dig into the code which is ready to be hacked at
Comment 14 Fargus 2013-09-06 20:31:41 UTC
4.1.1.2 The problem still exists. Solve, please.
The situation as in attachement 
https://bugs.freedesktop.org/attachment.cgi?id=61672
Comment 15 patrick 2013-12-23 20:53:34 UTC
I'm confirming this behavior persists in Draw v4.1.2.3 Build ID:410m0(Build:3). 

It does _not_ require printing 2 pages per sheet: put page in landscape mode, print -> prints in portrait mode with right side clipped. Leave in landscape mode, explicitly set printer properties page orientation to landscape -> still prints in portait mode. 

Title may need to be updated to reflect same behavior without printing 2sheet/page. 

Successful workaround: export to PDF, print from a PDF viewer. 

My printer fwiw: Brother MFC-J4700W
Comment 16 Rolf Gloor 2013-12-24 11:12:32 UTC
Fixed ?

I don't know where the problem was.
(Running LibreOffice under Linux / openSUSE 12.3)

But it looks as it has recently been fixed (somehow), either through Linux / CUPS or through LibreOffice.
I have installed all available patches to my Linux System (including apps).

The (latest) LibreOffice from the openSUSE repository is:

Version: 4.1.1.2
Build ID: 410m0(Build:2)

(Repository Version 4.1.1.2 - 1.4)

It now works with writer, calc, draw and presentation.

For me: The problem is fixed!
Comment 17 Rolf Gloor 2013-12-24 11:14:57 UTC
BTW:
It works with both of my printers:

- Brother MFC-8460N
- Samsung CLP-365

No need of PDF-work-around anymore!  :-)
Comment 18 stof999 2013-12-28 10:55:30 UTC
--NOT FIXED-- (and i guess, no one has ever done something)
with LO Version: 4.1.3.2 Build ID: 70feb7d99726f064edab4605a8ab840c50ec57a
and printer MFC-J6510DW it is still NOT working!
Comment 19 foss 2014-01-01 11:42:02 UTC
stof999@cmdt.ch then why not just update whiteboard with Confirmed:4.1.3.2:Linux?
Comment 20 stof999 2014-01-03 06:25:34 UTC
why? because using the whiteboard, hanging off the wall, trying to scan the whole board and printing out each scan isn't so easy, but i will try.
sorry, joking aside: @foss: could you tell me something more about whiteboard? thanks.
Comment 21 Drew Parsons 2014-02-13 03:27:15 UTC
Seems to be fixed, at least I now have a successful print with 2 pages per sheet under LibreOffice 4.1.4.2 (Debian unstable), printing to HP LJ4300 via CUPS 1.7.1.
Comment 22 foss 2014-02-13 12:30:57 UTC
stof999 the whiteboard status does help to get a quick overview on which systems and with what versions of LO the bug does appear. There's also a script that creates a nice tabel from that whiteboard info, but the server it was on, is currently gone. So generally it is pretty useful for QA and devs.

Setting to worksforme as of Comment 21.

Please re-open if the bug persists for anybody with LO 4.2.0.4.
Comment 23 stof999 2014-02-13 13:22:29 UTC
NOT FIXED with Version: 4.2.0.4
Build ID: 05dceb5d363845f2cf968344d7adab8dcfb2ba7

i don't think, this is the way of good fixing or trying to improve a product, when regularly someone is closing the task. if there someone has something done on the code, this person should know it and resolve the task.
thanks

PS: it is also NOT working with AOO401m5(Build:9714)  -  Rev. 1524958
2013-09-20 11:54 - Linux x86_64
Comment 24 foss 2014-02-13 13:46:41 UTC
Comment 21 reported this fixed. and printer bugs are hard to verify, no one has all printer models. thanks for re-opening.
Comment 25 Joel Madero 2014-02-13 15:07:55 UTC
Please don't change the version - it is the oldest version that we see the issue.

Also - the workflow works given our constraints so that's not changing unless a better workflow is proposed. If we are unable to reproduce we're going to close as WFM - it is then up to the user to follow up. Our devs cannot/will not spend their valuable time - if a QA team member cannot reproduce we close as WFM and then expect users to do their part if the bug is not fixed
Comment 26 tommy27 2014-10-17 13:25:27 UTC
--> stof999@cmdt.ch

please give an update of the bug status using latest LibO 4.3.2.2 release.
thanks for your feedback
Comment 27 stof999 2014-10-20 07:12:03 UTC
**** not resolved !!! ***

hi

with 

opensuse13.1
LO Version: 4.3.2.2 Build ID: edfb5295ba211bd31ad47d0bad0118690f76407d
print via cups
2 pages per sheet
to brother MFC-J6510DW
Name        : mfcj6510dwcupswrapper
Version     : 3.0.0
Release     : 1
Architecture: i386
Install Date: Mit 25 Jun 2014 17:47:16 CEST
Group       : Applications
Size        : 64256
License     : 2004-2012 Brother Industries, Ltd. All Rights Reserved
Signature   : (none)
Source RPM  : mfcj6510dwcupswrapper-3.0.0-1.src.rpm
Build Date  : Don 22 Mär 2012 09:07:35 CET
Build Host  : localhost.domain
Relocations : (not relocatable)
Packager    : root@localhost
Vendor      : Brother Industries, Ltd.
Summary     : Brother CUPS Inkjet Printer Definitions
Description :
Brother Inkjet printer CUPS Driver
Distribution: (none)

LO prints the pages still as shown in the attachment <current and expected behavior>.

thanks
Comment 28 stof999 2014-10-20 07:19:01 UTC
and as a remember:

printing the odt as an pdf with okular (kde pdf-reader) 2 pages per sheet does the job as it should be.

thanks
Comment 29 tommy27 2014-10-20 07:48:40 UTC
sorry to hear that...

Brother printers are affected by multiple issues on LibO.
see this bugzilla query: http://snipurl.com/29cxibw
Comment 30 stof999 2014-10-20 09:09:22 UTC
hi tommy27

as i already told, Brother_MFC-J6510DW is a strange printer! paper feed an ADF is rotated by 90° against each other. but only the printer should be interested in that. 

KDE printing works.

what is the difference from LO and KDE printing? they use the same printer driver, cups, ...

i guess the problem could be somewhere in LO between prepare the print and sending it to cups?

can i do something more?
thanks
Comment 31 tommy27 2014-10-20 09:18:17 UTC
I have no experience with Linux so I can't help.

@Joel Madero
any ideas about this?
Comment 32 Joel Madero 2014-10-20 13:11:06 UTC
No but brother printers consistently show problems - if you do a bugzilla search you'll see quite a few hits and as far as I know we have no triagers that have a brother printer (I avoid them like the plague because it's obvious they have issues in Linux)

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.