Printer output on wrong paper size
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cupsys (Ubuntu) |
Invalid
|
Undecided
|
Pascal De Vuyst | ||
gutenprint (Ubuntu) |
Fix Released
|
Undecided
|
Pascal De Vuyst | ||
Bug Description
Binary package hint: cupsys
(Printingbuginf
All paper sizes are set to A4 (application, printer defaults), but output is scaled to fit US-Letter at the printer (Epson Stylus C86). Most noticeable is output from gLabels, where printed scale and position are critical.
Output to a Samsung printer is correct; output to cups-pdf virtual printer is correct.
Problem only appears when printing from an application using Gnome printing. Other printing methods do not show this problem (e.g., OOo, Acroread).
During problem diagnosis attemps, I printed from gLabels to <generic ps> and viewed the ps file in Evince: scaling was correct. I then printed to the Epson printer from Evince and the page was scaled down to fit US-Letter. Part of the cups error log (debug mode) includes this:
D [27/Jan/
D [27/Jan/
D [27/Jan/
D [27/Jan/
D [27/Jan/
D [27/Jan/
D [27/Jan/
.
.
D [27/Jan/
Correct so far. Then:
D [27/Jan/
D [27/Jan/
D [27/Jan/
D [27/Jan/
D [27/Jan/
D [27/Jan/
D [27/Jan/
D [27/Jan/
D [27/Jan/
D [27/Jan/
D [27/Jan/
D [27/Jan/
D [27/Jan/
D [27/Jan/
D [27/Jan/
D [27/Jan/
Note the line which starts "PageSize = [ 612 792 ], ...". That is the size of US-Letter, not A4. Further down the cups error log:
D [27/Jan/
D [27/Jan/
Problem also occurs with LiveCD of Ubuntu 6.06.1 and 6.10, so I'm confident I haven't broken anything. I also tried cups 1.2.7 -- no change (backed out after testing). Upgrade to Ghostscript 5.0.0. final had no effect. Versions 2.1.2 (dapper repo) and 2.1.3 of gLabel show the same problem (but it is not a gLabel bug).
== System information ==
Ubuntu Release: 6.06 (dapper)
Architecture : i686
Kernel : 2.6.15-27-386
Locale : LANG=en_GB.UTF-8, LC_CTYPE=
/etc/papersize: a4
== Configured printers ==
ML-1210: Samsung ML-1210 Foomatic/gdi (recommended)
Stylus-C86: Epson Stylus C86 - CUPS+Gutenprint v5.0.0
vPDF: Generic postscript color printer rev4
device for ML-1210: smb://MOGGY/Laser
device for Stylus-C86: parallel:/dev/lp0
device for Stylus-C86/Draft: parallel:/dev/lp0
device for Stylus-C86/gLabels: parallel:/dev/lp0
device for vPDF: cups-pdf:/
== Versions of important printing packages ==
ii cupsys 1.2.2-0ubuntu0.6.06 Common UNIX Printing System(tm) - server
ii foomatic-db 20060408-1ubuntu1 linuxprinting.org printer support - database
ii foomatic-db-engine 3.0.2-20060318-
ii foomatic-db-hpijs 1.5-20060318-1 linuxprinting.org printer support - database
ii foomatic-filters 3.0.2-20060318-2 linuxprinting.org printer support - filters
ii foomatic-
ii gs-common 0.3.9ubuntu1 Common files for different Ghostscript relea
ii gs-esp 8.15.2.
ii gutenprint 5.0.0-1 Gutenprint 5.0.0
ii hpijs 2.1.7+0.
ii hplip 0.9.7-4ubuntu1 HP Linux Printing and Imaging System (HPLIP)
ii hplip-ppds 0.9.7-4ubuntu1 HP Linux Printing and Imaging - PPD files
ii libgnomeprint2.2-0 2.12.1-3ubuntu2 The GNOME 2.2 print architecture - runtime f
Created with printingbuginfo script v1.3 (https:/
Tue, 30 Jan 2007 11:18:20 +0100
Can you give the output of the following command:
$ lpoptions