default page size not respected by applications

Bug #183126 reported by stereoit
6
Affects Status Importance Assigned to Milestone
gtk+2.0 (Ubuntu)
Incomplete
High
Unassigned

Bug Description

Hi,

I have setup our company printer Xerox Workcenter 7228 with system-config-printer, I do not know if the PPD file set's the default page size to 8x11cm (or something like that) but I changed it to A4 in the "Printer options" tab. However applications (Evolution, Evince,..) do not respect this setting and still tries to print in 8x11cm which causes my job to be stalled on the printer. Printer is complaining about the incorrect paper size and all I can do is to cancel the job on the printer.

If I use Open Office and set the page size to A4, printing works ok, however I do not have the option "Paper Size" in printing dialog for Evince, Evolution and rest of GNOME.

Can you help?

Thank you,

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

This is for sure not a problem of system-config-printer. system-config-printer changes the paper size default in the PPD correctly. The problem is in the printing infrastructure of GNOME/GTK. They need to provide an option to set the page size.

Do you have an /etc/papersize file? What is its contents?

Changed in system-config-printer:
importance: Undecided → High
status: New → Incomplete
Revision history for this message
stereoit (smol-robert) wrote :

rsmol@rsmol-laptop:~$ cat /etc/papersize
letter

Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote :

Can you attach the output of the following command:
$ locale
Which version of Ubuntu are you using?
Please also attach the output of the printingbug info script, it can be found here: https://wiki.ubuntu.com/PrintingBugInfoScript.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

stereoit, can you edit your /etc/papersize file so that it contains only

a4

and then try again to print from your GNOME applications? Does this fix your problem?

Revision history for this message
stereoit (smol-robert) wrote :

hi,
I've edited the /etc/papersize (changed letter to a4) and tried to print PDF file from evince, however printer still complains that is wants 8x11,5 paper in the tray.

Is there anything else I can do to have a4 as default? I've attached the PPD file.

Revision history for this message
Julien Raeis (julien-raeis) wrote :

I've filed a bug for a more generic version of the bug (I think :)), see https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/258794

The paper size used by gtkprint should be the one set in the PPD files, and optionaly overridden by the "Page Setup" dialog options.

Revision history for this message
Saivann Carignan (oxmosys) wrote :

This bug is actually not specific to any printer and caused by gtkprint, as poiuyt said. According to this, I set this bug report as a duplicate of bug 258794

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.