GNOME Bugzilla – Bug 143123
print (and print preview) incorrect for non default printer on A4 sheets
Last modified: 2005-07-11 20:31:31 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
After you changed the printer, which paper size is selected in the print dialog (paper tab)?
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.
What kind of border? Please tell us more. What printer are you using (both as `default' and for real printing). Are you using cups?
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"
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.
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?
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
(c) essentially depends on the application. Gnome-print does not create the print preview but the application does.
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.
Can this be tagged as duplicate of bug 147716?
yes *** This bug has been marked as a duplicate of 147716 ***