Bug 191254 - openoffice.org ignore document paper size
Summary: openoffice.org ignore document paper size
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: openoffice.org
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Caolan McNamara
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-05-10 06:42 UTC by Johan Dahl
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-05-10 13:18:02 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Printing to file on default printer (294.76 KB, application/postscript)
2006-05-10 12:21 UTC, Johan Dahl
no flags Details

Description Johan Dahl 2006-05-10 06:42:36 UTC
Description of problem:
openoffice.org ignores papersize of document and prints in letter if I doesn't
change the format in the print-dialog every time.

Version-Release number of selected component (if applicable):
openoffice.org-core-2.0.2-5.9.2

How reproducible:
Every time

Steps to Reproduce:
1. Create new document. Select "Format > Page...". Format is A4
2. Select "File > Printer Settings". Paper Size is A4
3. Select "File > Print". Select the tab "Paper". Paper size is Letter 
  
Actual results:
Page is printed in Letter if I doesn't change it in prining dialog. I must do
this for every print out. 

Expected results:
The program should use the size which is selected in the "Format > Page"

Additional info:

Comment 1 Caolan McNamara 2006-05-10 09:35:10 UTC
For writer, writer's document page type (from format paper) should override
anything selected for paper size elsewhere. The printer paper size select should
only affect documents which don't have internal paper-size settings, e.g. calc
or math. So....

Can I get the output of
1.
> locale
so I can see what your LC_PAPER type is, possibly it's a US type, hence the
defaulting to Letter in the printer dialog (presumably the same paper type of
letter is selected in e.g. gedit)
2.
Can you print to file through "generic postscript", location file and attach the
output here so I can see what paper size the final postscript actually contains.

Does it actually hit the printer as letter format ?, i.e. the annoying "insert
letter paper" of printer warning/error

Comment 2 Johan Dahl 2006-05-10 12:21:31 UTC
Created attachment 128843 [details]
Printing to file on default printer

Comment 3 Johan Dahl 2006-05-10 13:02:42 UTC
This is the result of the locale command

$ locale
LANG=sv_SE.UTF-8
LC_CTYPE="sv_SE.UTF-8"
LC_NUMERIC="sv_SE.UTF-8"
LC_TIME="sv_SE.UTF-8"
LC_COLLATE="sv_SE.UTF-8"
LC_MONETARY="sv_SE.UTF-8"
LC_MESSAGES="sv_SE.UTF-8"
LC_PAPER="sv_SE.UTF-8"
LC_NAME="sv_SE.UTF-8"
LC_ADDRESS="sv_SE.UTF-8"
LC_TELEPHONE="sv_SE.UTF-8"
LC_MEASUREMENT="sv_SE.UTF-8"
LC_IDENTIFICATION="sv_SE.UTF-8"
LC_ALL=

This locale should be A4. If I look in gedit is also says "letter" in the print
dialog.

The printer reports "manual feed - press enter". I looked in the generated
postscript (id=128843) and it said A4. I reinstalled the printer in cups and
selected generic postscript instead of HP LJ 1320 and after that it printed
without any problem. So the was my configuration but I was fooled by the setting
in the print-dialog.

I tried a new fresh account and both gedit and openoffice.org had A4 in the
print-dialog. 

So something is strange with my account. You can set this as resolved. I am
sorry for wasting your time :-(

Comment 4 Caolan McNamara 2006-05-10 13:18:02 UTC
Not a problem, good to know about these gotchas when thinking about future
printer dialog replacements.

But indeed, I'll mark this as WONTFIX for now, and perhaps the new GTK printing
dialog will help in this area


Note You need to log in before you can comment on or make changes to this bug.