After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 143123 - print (and print preview) incorrect for non default printer on A4 sheets
print (and print preview) incorrect for non default printer on A4 sheets
Status: RESOLVED DUPLICATE of bug 147716
Product: Gnumeric
Classification: Applications
Component: Printing
1.2.x
Other Linux
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2004-05-25 12:25 UTC by Fabio Invernizzi
Modified: 2005-07-11 20:31 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Fabio Invernizzi 2004-05-25 12:25:51 UTC
printing to A4 sheet.
choose print..., then change the printer to another (non default) and print (or
preview): the last lines of the page are printed on another sheet (as if the
page was set to Letter instead of A4)
Printing is ok for default printer (i'm actually switching the default printer
to the one i have to use to have the job done correctly).
Note: this bug didn't exists on previous versions of gnumeric (sorry i can't
recall the exact version number the bug arose but it was around october/november
2003 in Debian/SID) and I experienced it in gnome 2.4/2.6
Comment 1 Andreas J. Guelzow 2004-05-25 13:14:03 UTC
After you changed the printer, which paper size is selected in the print dialog
(paper tab)?

Comment 2 Fabio Invernizzi 2004-05-25 13:48:34 UTC
The paper size is A4. 

Actually the problem isn't related to papersize as I supposed. Looking at the
page wrong printed I can see an added border on the top of the page, so that
last lines goes to another sheet.
Comment 3 Andreas J. Guelzow 2004-05-25 15:00:45 UTC
What kind of border?   Please tell us more. What printer are you using (both as
`default' and for real printing). Are you using cups?
Comment 4 Fabio Invernizzi 2004-05-25 15:41:06 UTC
Ok, i've investigated deeper the problem, starting from a new file.
No problem with default settings.

The problem arise if i change the page layout, i.e. if i change the top margin
form 3 to 1 cm.

Default printer show it correctly, any other non default show again the 3 cm top
margin.

(Another bug: the page layout form seems to show value in cm but accept new
values in 1/100 of cm. I've inserted 100,00 to show an actual margin of 1 cm)

BTW, either printers are postscript and i can reproduce the bug either using
cups or printing to file with "Generic Postcript" or "Create PDF Document" 
Comment 5 Andreas J. Guelzow 2004-05-25 16:01:21 UTC
The margins are printer settings. When you switch printers you also switch those
settings. That is the current libgnomeprint design. In earlier incantations
gnumeric ignored any changes in the print dialog, so things happened to appear
to work (unless you intentionally changed the paper size in that dialog).

This definitely needs to be redeigned I think.
Comment 6 Richard Lyons 2004-05-26 07:59:39 UTC
a) Re previous comment: When you change printer, you lose the ability to adjust
the page format.

b) If you do Print Preview then click print button, the format is not the same
as if you print without first previewing.  This for non-default printer.  (In my
case Epson Stylus C62 via CUPS).  This means there are three different formats:
that you set up for the job - which will only work on the default printer, and
two variants, one with larger top and bottom margins via Print and one with
lesser top and bottom margins, via preview -> print.

c) Select Print then Print Preview. Close Preview and instead of returning to
Print, you return to spreadsheet.  Perhaps that should be a separate bug?
Comment 7 Jody Goldberg 2004-08-28 21:08:51 UTC
Andreas, I agree that libgnomeprint definitely needs to be re-thought in this
area.  Then again I still have not responded to your question earlier this
summer, so this is definitely a 2.9 sort of discussion
Comment 8 Andreas J. Guelzow 2004-08-28 21:25:21 UTC
(c) essentially depends on the application. Gnome-print does not create the
print preview but the application does.
Comment 9 Andreas J. Guelzow 2004-08-28 21:28:40 UTC
Jody: all those cute changes to gnomeprint's interaction with cups are quite
pointless in view of this bug, since changing the printer resets all settings.
While obviously 2.8 is much to close for any significant changes in
libgnomeprint, all those new printer selection features are useless.
Comment 10 Jon Kåre Hellan 2005-07-11 20:06:58 UTC
Can this be tagged as duplicate of bug 147716?
Comment 11 Andreas J. Guelzow 2005-07-11 20:31:31 UTC
yes

*** This bug has been marked as a duplicate of 147716 ***