Issue 113562 - Add option to respect user format paper also if the printer does not have that format defined - default to true..
Summary: Add option to respect user format paper also if the printer does not have tha...
Status: REOPENED
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: OOO330m1
Hardware: All All
: P4 Trivial (vote)
Target Milestone: OOo 3.x
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: regression, usability
Depends on:
Blocks:
 
Reported: 2010-07-31 16:04 UTC by cno
Modified: 2013-07-30 02:23 UTC (History)
3 users (show)

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


Attachments
template (.ott) (9.39 KB, application/vnd.oasis.opendocument.text)
2010-08-04 08:31 UTC, cno
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description cno 2010-07-31 16:04:54 UTC
Found in 330m2

- Open new Writer document
- Set page width 21 and height 18, leave it portrait
- Add text

- - - - - 
|    _   |
|    _   |
- - - - - 

- Ctrl-P
- Print
 > Is printed as if it is on A4, with changed orientation.

- - - - - - -
|           |
|           |
|           |
|           |
|   |  |    |
|           |
- - - - - - -

 > Shows false in the print preview too
 > Same problem when you choose A5 Landscape
Comment 1 cno 2010-07-31 16:05:16 UTC
was OK in 3.2.1
Comment 2 cno 2010-07-31 16:23:45 UTC
sorry, I looked wrong at the print preview.
There is is shown correct.
Comment 3 cno 2010-07-31 16:27:33 UTC
was wrong in m83 too, so not a very recent bug
Comment 4 philipp.lohmann 2010-08-02 10:19:50 UTC
Not recent, yes :-) That's in there since OOo can print PostScript on Unix.
Landscape is always printed as rotated portrait, since that works more reliable
on more printers - and is not a performance hit.

Unless you have a problem I didn't understand, there is no issue here.
Comment 5 philipp.lohmann 2010-08-02 10:20:08 UTC
closing
Comment 6 cno 2010-08-02 22:42:24 UTC
as I wrote: "was OK in 3.2.1"
thus the templates that I made long before, and print fine in 3.2.1, do not
print correct in 330m2.

It is shown in printpreview:
.........
.x      .
.       .
.........

but printed as
...........
.         .
. .....   .
.     .   .
.     .   .
. x   .   .
...........


Comment 7 philipp.lohmann 2010-08-03 10:19:15 UTC
Landscape printing mode has not changed. What I could imagine is that the actual
paper you are using (21x18, assuming cm that is almost A4) is not found (which
is also the same as before, on Linux 3.2.1 that would have matched to A4 also).
In that case nowadays the not matching paper of the document gets centered on
the actual paper.

But that's just hypothetical, can you please attach a bugdoc and tell which
printer you are using ?
Comment 8 cno 2010-08-04 08:29:04 UTC
I'll attach the template that I use.

It is with the Epson Aculaser C1100 on Linux. 
It has an older driver, so that could have influence. But as explained: in
3.2.1. andearlier, the problem is not there.

Pls note, that in the initial description, I also wrote:
  " > Same problem when you choose A5 Landscape"
Comment 9 cno 2010-08-04 08:31:33 UTC
Created attachment 70947 [details]
template (.ott)
Comment 10 philipp.lohmann 2010-08-04 13:47:06 UTC
Ok, this is not driver dependent, I see it with the generic PostScript PPD
(driver). The page size in your template is "22cm x 15.5cm". Which is not C5
landscape (which would be  22.9cm x 16.2cm). As I suspected this is a non
printer paper format that is nowadays centered on the paper that gets actually
used (which is incidentally C5 since it is the supported format from the PPD
that comes closest). The centering is indeed a change from 3.2, however that
change was intentional (reasoning that most likely you are going to have a
better result when printing on a paper of the wrong format since there is more
border space potentially to fill).

I found a PPD file for the Epson Aculaser C1100 from here:

https://wiki.ubuntu.com/EpsonAcuLaserC1100

The printer seems to support C5 as paper but it uses non standard naming. Which
leads to only "A4" and "Letter" being supported by name. More serious: the PPD
constraints Paper format "C5" to Duplex and inputslot "Auto" (the latter of
which is at least the default). If you'd not use CUPS to print, you could use
the spadmin utility to set these to ignore. Otherwise I have no good
recommendation, you could comment out all the fluffy "*UIConstraints" in the PPD
file, but that is not a solution.

This is not the first PPD that has some strange UIConstraints. CUPS seems to
ignore them mostly, so perhaps we should add an option to do that, too.
Comment 11 cno 2010-08-04 18:48:37 UTC
hi phillip,
You write "The centering is indeed a change from ..."

Do you also see a rotation?
Comment 12 philipp.lohmann 2010-08-05 11:45:54 UTC
Yes I do. That is because if a paper format is not found the search for an
alternative will also try to match the corresponding landscape format (and vice
versa) to find the most appropriate format - which is kind of hard to do since
the AcuLaser PPD as is only supports Letter and A4.

I would not consider that a bug, but you might want a method to switch it off,
too ? In retrospect I'd like to have done that in 3.3 since you won't be the
only one trying to use a user format paper to get the job done regardless of
what the printer actually supports. For that purpose the new paper matching as
well as the centering is a change for the worse. However 3.3 UI is frozen now.
Comment 13 cno 2010-08-09 08:46:19 UTC
You write: "Yes I do. That is because if a paper format is not found the search
for an ..."
But I do have the same problem when I choose A5 landscape..
I may consider A5 a known format ;-)
Comment 14 philipp.lohmann 2010-08-09 10:08:45 UTC
you may consider it known, but the PPD for your printer does not. It knows about
a5, but constraints it such that it is not usable per default. Only Letter an A4
are available as such (you can see that e.g. using the spadmin program that
comes with your OOo).
Comment 15 cno 2010-09-20 11:41:17 UTC
related to issues 112402 / 89289 ?
Comment 16 cno 2011-01-07 15:02:33 UTC
or related to issue 108961 ?
Comment 17 joopb 2011-02-07 22:21:51 UTC
Why do we have the possibility to make "user-defined" paper-sizes, if all such
paper-sizes are converted to the printer-driver sizes as A4 and Letter when the
page is printed? Then better to skip the whole option of "user-defined"
paper-sizes. I must print cheques that are 21,0 cm wide and 10,2 cm high. And
that went well with till OOo 3.2.1 with my HP Laserjet 1150, but not anymore
with the new version 3.3. This is a decrease in what can be done with OOo.
Comment 18 cno 2011-02-07 22:30:47 UTC
reading from pl (Wed Aug 4 12:47:06 +0000 2010 ) #desc11
"As I suspected this is a non
printer paper format that is nowadays centered on the paper that gets actually
used (which is incidentally C5 since it is the supported format from the PPD
that comes closest). The centering is indeed a change from 3.2, however that
change was intentional (reasoning that most likely you are going to have a
better result when printing on a paper of the wrong format since there is more
border space potentially to fill)"

and from (Thu Aug 5 10:45:54 +0000 2010  ) #desc13
" but you might want a method to switch it off,
too ? In retrospect I'd like to have done that in 3.3 since you won't be the
only one trying to use a user format paper to get the job done regardless of
what the printer actually supports."

Considering that there must have been a good reason to introduce the change, and
indeed that many people have problems with it: pls add the option to turn it off.

@Philipp: Do you want me to make a new issue, or shal I just change the summary
of this one?
Thanks, Cor
Comment 19 philipp.lohmann 2011-02-08 11:18:52 UTC
I don't think a new issue number will change the behavior much ...
Comment 20 cno 2011-02-08 11:44:28 UTC
[@pl: If only were life that easy ;-) ]

Changed summary. It was initially "Landscape paper is printed portrait"

I suggest default value true, so option checked. But I cannot really judge,
since the problems that lead to the change are unknow by me.
Comment 21 philipp.lohmann 2011-02-08 14:27:36 UTC
Resetting target accroding to new task handling scheme announced here:

http://blogs.sun.com/ratte/entry/some_changes_for_the_openoffice
Comment 22 philipp.lohmann 2011-03-11 16:26:23 UTC
*** Issue 117267 has been marked as a duplicate of this issue. ***
Comment 23 Rob Weir 2013-07-30 02:23:29 UTC
Reset assignee on issues not touched by assignee in more than 2000 days.