Bug 32573 - Cannot print A5 landscape
Summary: Cannot print A5 landscape
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.3.0 RC1
Hardware: x86 (IA32) Windows (All)
: medium critical
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-22 05:30 UTC by mal
Modified: 2011-12-23 15:38 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot of printer properties - landscape A5 printing (88.27 KB, image/png)
2011-01-04 05:00 UTC, Petr Mladek
Details
A5 document (77.29 KB, image/jpeg)
2011-01-04 05:34 UTC, mal
Details
A5 print dialog (40.02 KB, image/jpeg)
2011-01-04 05:35 UTC, mal
Details
sample A5 document (10.76 KB, application/vnd.oasis.opendocument.text)
2011-11-01 00:21 UTC, Eugenij Shkrigunov
Details
paper format (42.31 KB, image/png)
2011-11-01 00:22 UTC, Eugenij Shkrigunov
Details
Print dialog where you can see the problem in the preview area (53.61 KB, image/png)
2011-11-01 00:23 UTC, Eugenij Shkrigunov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mal 2010-12-22 05:30:04 UTC
Open LO 
Start new text document
Format
Page
Format A5
Orientation landscape
enter some text in the document
Print

The little  picture of the page in the print dialog is portrait 
and it prints out portrait

A4 and A3 work as expected

Windows XP
LO RC1
Infotec printer PCL5 emulation and A5,A4 and A3 trays

3.2.1 Go-oo and vanilla OO work correctly
Comment 1 mal 2010-12-23 00:22:28 UTC
Still does it in RC2
Comment 2 mal 2010-12-23 01:26:51 UTC
Linux version ( RC2 ) is fine 
Same PC, same printer, same document
Comment 3 Petr Mladek 2011-01-04 05:00:16 UTC
Created attachment 41617 [details]
Screenshot of printer properties - landscape A5 printing

Hmm, I am not able to reproduce it. Also, I am able to select the orientation in the printer properties. See the attached screenshot with LO-3.3-rc2 and Windows XP.
Comment 4 Petr Mladek 2011-01-04 05:02:31 UTC
mal, are you able to modify the orientation in the printer properties?

It might be specific to the particular printing driver. I add Windows experts in CC. They might know what other information would be useful.
Comment 5 mal 2011-01-04 05:34:58 UTC
Created attachment 41619 [details]
A5 document
Comment 6 mal 2011-01-04 05:35:23 UTC
Created attachment 41620 [details]
A5 print dialog
Comment 7 mal 2011-01-04 05:49:10 UTC
If I go to the printer properties and change it to landscape
it prints it like this

-----------------
|                 |
|                 |
|        Hello Wor|
|                 |
|                 |
|                 |
|                 |
|                 |
|                 |
|                 |
|                 |
------------------

The Linux version ( on opensuse )
works perfectly and we are already using
Go-oo 3.2.1 with no problems, it 's just
LO 3.3 that does this ( on XP pro )
Comment 8 mal 2011-01-04 06:25:15 UTC
A couple of more things

We remove the XPS printer as it confuses the students ( and some of our scripts )
I re installed on my machines it and it appears to work - as in it looks like the screen shot you attached and the xps is readable and the right way around but it still doesn't work if you use a real printer. 

This is a bit of a show stopper for us - let me know anything I can do to help
Comment 9 Cor Nouws 2011-01-07 07:04:56 UTC
I guess this is (related to) OOo issue 113562
See esp http://qa.openoffice.org/issues/show_bug.cgi?id=113562#desc11 and http://qa.openoffice.org/issues/show_bug.cgi?id=113562#desc13
Comment 10 mal 2011-01-07 07:27:16 UTC
Pretty much describes it but that bug refers to Unix and the way OO/LO does landscape. For me this only happens in XP and only A5.
Using the same document and printers and version of LO on opensuse works fine.
Also on XP if you do nothing but format/page/ and set to A(something other than A5) it works as expected. A5 portrait works OK.
As an experiment try
New document 
Format page A3 landscape type some stuff and print = OK
Change to A4 landscape and print = OK
Change to A5 landscape and print = Not OK 
Go back to A4 or A3 and print = OK 

Also as I mentioned the microsoft XPS thingy works OK it's only when
you use a real printer ( I have tried several now ) that it goes wrong

regards

M
Comment 11 mal 2011-01-14 02:37:35 UTC
Gotcha ! The reason it works with openSuse and not with XP
is that openSuse uses a Postscript printer driver and XP uses
PCL5c or PCL6 ( neither of which work ) If I change the XP
printer driver to the Postscript one it works fine which
for us is a perfectly good work around.

Best wishes to everyone 

M
Comment 12 Rainer Bielefeld Retired 2011-10-13 08:55:31 UTC
Due to latest comments ...

@reporter:
Please feel free to reopen this bug if you find out that the problem reappears  with the current stable LibreOffice version and if you find indications that it might be a LibO Bug.
Comment 13 Scott M. Sanders 2011-10-13 09:40:44 UTC
This Calc bug is kind of related:

FILEOPEN xlsx landscape page with interchanged width/height values
https://bugs.freedesktop.org/show_bug.cgi?id=40146

I had added myself to this CC list while tracking it down anyway.
Comment 14 Eugenij Shkrigunov 2011-10-28 05:23:32 UTC
Hi!
Sorry for my English.

There are many printers that have no PostScript driver: it still have a problem.
At the moment I can not print (and preview in the print dialog) A5 landscape to the HP LaserJet 1000.
Please, fix it.

Many thanks.
Comment 15 Rainer Bielefeld Retired 2011-10-28 11:05:19 UTC
@Eugenij Shkrigunov:
Please ask for assistance in a user group, waiting for a fix here will be rather useless as long as not all details of the various problems will have been clarified. And concerning your particular problem we don't know anything.

I will close this bug after 1 Month again if we do not see evidence that we have a problem different from Bug 40146 here and if nobody will have found a way to make that problem reproducible.
Comment 16 Eugenij Shkrigunov 2011-11-01 00:20:20 UTC
(In reply to comment #15)
> @Eugenij Shkrigunov:
> Please ask for assistance in a user group, waiting for a fix here will be
> rather useless as long as not all details of the various problems will have
> been clarified. And concerning your particular problem we don't know anything.
> 
> I will close this bug after 1 Month again if we do not see evidence that we
> have a problem different from Bug 40146 here and if nobody will have found a
> way to make that problem reproducible.

Bug 40146 describes another problem.
I have screenshots and a sample of the document - see the attachments.
Comment 17 Eugenij Shkrigunov 2011-11-01 00:21:31 UTC
Created attachment 52977 [details]
sample A5 document
Comment 18 Eugenij Shkrigunov 2011-11-01 00:22:30 UTC
Created attachment 52978 [details]
paper format
Comment 19 Eugenij Shkrigunov 2011-11-01 00:23:42 UTC
Created attachment 52979 [details]
Print dialog where you can see the problem in the preview area
Comment 20 Eugenij Shkrigunov 2011-11-01 00:42:13 UTC
Verisons:

distr: gentoo (profile: /usr/portage/profiles/default/linux/amd64/10.0)
kernel: 3.0.6

sys-devel/gcc-4.5.3-r1
sys-devel/binutils-2.21.1-r1
sys-libs/glibc-2.12.2

dependencies for app-office/libreoffice-3.3.4
app-arch/unzip-6.0-r1
app-arch/zip-3.0
app-dicts/myspell-ru-20060316
app-office/libreoffice-3.3.4
app-text/hunspell-1.3.2-r1
app-text/poppler-0.16.7
dev-java/ant-core-1.8.1
dev-java/bsh-2.0_beta4-r3
dev-java/lucene-2.3.2
dev-java/lucene-analyzers-2.3.2
dev-lang/perl-5.12.4-r1
dev-lang/python-2.7.2-r3
dev-libs/boost-1.46.1-r1
dev-libs/dbus-glib-0.98
dev-libs/expat-2.0.1-r5
dev-libs/glib-2.28.8
dev-libs/icu-4.8.1-r2
dev-libs/libxml2-2.7.8-r3
dev-libs/libxslt-1.1.26-r2
dev-libs/nspr-4.8.9
dev-libs/nss-3.12.11-r1
dev-libs/openssl-1.0.0e
dev-libs/redland-1.0.14
dev-perl/Archive-Zip-1.300.0
dev-util/cppunit-1.12.1
dev-util/gperf-3.0.4
dev-util/intltool-0.41.1
dev-util/pkgconfig-0.26
media-libs/fontconfig-2.8.0-r1
media-libs/freetype-2.4.7
media-libs/libpng-1.5.5
media-libs/vigra-1.7.1-r1
net-libs/neon-0.29.6
net-libs/xulrunner-1.9.2.20
net-misc/curl-7.21.4
net-nds/openldap-2.4.24
net-print/cups-1.4.8-r1
sys-apps/coreutils-8.7
sys-apps/findutils-4.4.2
sys-apps/sed-4.2.1
sys-devel/autoconf-2.68
sys-devel/automake-1.9.6-r3
sys-devel/bison-2.4.3
sys-devel/flex-2.5.35_p10
sys-devel/libtool-2.4-r1
sys-libs/db-4.8.30
sys-libs/zlib-1.2.5-r2
x11-libs/cairo-1.10.2-r1
x11-libs/gtk+-2.24.5-r1
x11-libs/libXaw-1.0.9
x11-libs/libXinerama-1.1.1
x11-libs/libXrandr-1.3.2
x11-libs/libXrender-0.9.6
x11-libs/libXtst-1.2.0
x11-proto/printproto-1.0.5
x11-proto/xextproto-7.2.0
x11-proto/xineramaproto-1.2.1
x11-proto/xproto-7.0.22
Comment 21 Rainer Bielefeld Retired 2011-12-02 08:13:50 UTC
As Expected NOT reproducible  with sample dated 2011-11-01 00:21 UTC "LibreOffice 3.4.4  - WIN7 Home Premium (64bit) German UI [OOO340m1 (Build:402)]" 

E doubt that the problem here is related to Bug 40146

Closing again.

@Eugenij Shkrigunov:
I am pretty sure that clicking properties button (see your secreenshot "Print dialog where you can see the problem in the preview area") you will see a printer settings dialog showing some wrong paper format. Who can know what' wrong with your system? Correct the setting and prtint! Please ask for assistance in a user mailing list, here we can not to anything for you as long as you can not contribute a useful description of a real bug in a current LibO version. 

BTW, are you sure that you are using LibO?
Comment 22 Eugenij Shkrigunov 2011-12-02 20:05:14 UTC
(In reply to comment #21)
> As Expected NOT reproducible  with sample dated 2011-11-01 00:21 UTC
> "LibreOffice 3.4.4  - WIN7 Home Premium (64bit) German UI [OOO340m1
> (Build:402)]" 

Install Linux, LibreOffice 3.3.4, CUPS, printer drivers, etc
set a problem printer (HP LaserJet 1000 in this case) as default printer
try to reproduce


> E doubt that the problem here is related to Bug 40146

Bug 40146 have no dependence on the printer. LibreOffice writer have nothing to do with .xlsx


> I am pretty sure that clicking properties button (see your secreenshot "Print
> dialog where you can see the problem in the preview area") you will see a
> printer settings dialog showing some wrong paper format. Who can know what'
> wrong with your system? Correct the setting and prtint! Please ask for
> assistance in a user mailing list, here we can not to anything for you as long

This is definitely LibreOffice bug:
1. Before write here - tested all the combinations of paper sizes and orientation, printer settings and LibreOffice options related to printing.
2. Problem only with some printers (HP LaserJet 1000 in this case). If I select another printer (for example hp 1010) - everything is fine.
3. Preview and print from other programs works fine.

> as you can not contribute a useful description of a real bug in a current LibO
> version. 

I have given versions of all dependencies (comment #20). Tell me what information you need.


> BTW, are you sure that you are using LibO?
comment #20: app-office/libreoffice-3.3.4


> Closing again.

Sad that instead of correcting bugs are closed. Since nothing has been done to solve the problem, it is likely to present in future releases.

In any case, thanks for your time.
Comment 23 Björn Michaelsen 2011-12-22 05:51:33 UTC
RESOLVED, FIXED or CLOSED bugs cant be KEYWORD NEEDINFO.