Issue 91588 - Printing incorrectly initiated to paper size "US letter" or "letter".
Summary: Printing incorrectly initiated to paper size "US letter" or "letter".
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: OOo 2.4.1
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2008-07-12 10:43 UTC by epodata
Modified: 2017-05-20 10:45 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---

odt file of one L7671 label. (7.82 KB, application/vnd.oasis.opendocument.text)
2008-07-14 12:21 UTC, epodata
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description epodata 2008-07-12 10:43:19 UTC
When printing a document with defined page size A4 the printer is set to use
paper size "US letter" or "letter". The printer in question is CUPS defined with
default paper size A4. The OpenOffice Printer Administration tool may change the
printer settings to A4 but it has no effect on subsequent printing of new documents.
Comment 1 epodata 2008-07-14 12:21:20 UTC
Created attachment 55103 [details]
odt file of one L7671 label.
Comment 2 epodata 2008-07-14 12:32:46 UTC
Sorry this attachment was meant for another issue. Please ignore.
Comment 3 philipp.lohmann 2008-07-17 11:32:23 UTC
pl->hi: cannot reproduce, on my CUPS printer the page format of the document
always wins (as expected). Perhaps you can find a system where this happens ?
Comment 4 dicr_oo 2008-08-14 13:29:17 UTC
Allow me to present a similar problem of mine:

System: Mandriva 2008.1, 2.4.1 (Czech; official RPMs, not Mandriva build)
Printing: CUPS (local), 2 printers defined, both has A4 as default paper size

OO keeps default printer size set at "libpaper value". If I open OO Printeradmin
and change paper size in printer properties, as I open printer properties window
again, the old value is back. I don't even need to close Printeradmin.
Other printer attributes (like duplex type) are fine - they are same as default
printer setting in CUPS and can be changed without problems.
Comment 5 dicr_oo 2009-06-26 09:03:41 UTC
Still present in OO 3.1.0 (tested in Mandriva 2008.1 and Gentoo).

What is official policy for this problem? I think OO should keep default page
size from CUPS, not libpaper. It keeps everything else from CUPS, so why?
Comment 6 h.ilter 2009-06-26 10:47:12 UTC
I've checked with opensuse 10.3 and confirm the comment from PL
The post script files shows exactly the page format which I've set before printing
The attached document is defined as User. What happens when you define it as A4
under menu Format - Page - Page
Comment 7 dicr_oo 2009-06-26 13:44:02 UTC
I'm not sure that I fully understand the problem. Allow me to describe my
current observation. Please correct me, if I'm wrong somewhere:

1) Let's have a document in OO Writer. Only one page style is used. 
2) An important property of page style is page format. For this document, let's
have "page format = A5".
3) When printing such document, OO creates print job, which is handed to CUPS.
4) Print job = PostScript document + job attributes
5a) Job attributes can be user defined, usually in printer properties. Default
values *should* be taken from CUPS. 
5b) There is an exception - a "paper size" attribute is apparently taken via
libpaper (see my comment from Aug 14 2008). I think this is a bug; default paper
size should be obtained from CUPS too.
6) PostScript document has "Custom" size, which *should* match page format (see
2). But it is apparently taken from "paper size" (see 5b).
7) Therefore, when you want to print this on A4 paper (print job attribute),
printer will receive:
- PostScript document with "custom" size which matches A4
- and a request to print it on A5 paper

Am I right??
Comment 8 wijit 2010-07-19 12:35:53 UTC
To confirm this issue, these are my environment:
Acer TravellerMate 4720 laptop
Ubuntu Lucid updated to the most recent updates, with printers whose printer
option/Paper size set to A4
OOO320m12(Build:9483) whose the paper size, of the default page properties of
the document template invoked by selecting menu Format/Styles and Formatting,
set to A4
Comment 9 Marcus 2017-05-20 10:45:26 UTC
Reset the assignee to the default "".