Public bug reported:

Binary package hint: cupsys

(Printingbuginfo.txt below)  I'm not sure that this is a CUPS problem,
but I can't narrow it down.  This is not another report of the wrong
_default_ paper size -- output is printed ignoring the paper settings.

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/2007:15:58:36 +0100] [Job 137] Copying page 1...
D [27/Jan/2007:15:58:36 +0100] [Job 137] pagew = 595.0, pagel = 842.0
D [27/Jan/2007:15:58:36 +0100] [Job 137] bboxw = 595, bboxl = 842
D [27/Jan/2007:15:58:36 +0100] [Job 137] PageLeft = 0.0, PageRight = 595.0
D [27/Jan/2007:15:58:36 +0100] [Job 137] PageTop = 842.0, PageBottom = 0.0
D [27/Jan/2007:15:58:36 +0100] [Job 137] PageWidth = 595.0, PageLength = 842.0
D [27/Jan/2007:15:58:36 +0100] [Job 137] Wrote 1 pages...
.
.
D [27/Jan/2007:15:58:36 +0100] [Job 137] Gutenprint    CUPS option 4 PageSize = 
A4

Correct so far.  Then:

D [27/Jan/2007:15:58:36 +0100] [Job 137] cupsEncodeLUT[0] = 0
D [27/Jan/2007:15:58:36 +0100] [Job 137] cupsEncodeLUT[65535] = 1
D [27/Jan/2007:15:58:36 +0100] [Job 137] num_components = 1, depth = 1
D [27/Jan/2007:15:58:36 +0100] [Job 137] cupsColorSpace = 3, cupsColorOrder = 0
D [27/Jan/2007:15:58:36 +0100] [Job 137] cupsBitsPerPixel = 1, cupsBitsPerColor 
= 1
D [27/Jan/2007:15:58:36 +0100] [Job 137] max_gray = 1, dither_grays = 2
D [27/Jan/2007:15:58:36 +0100] [Job 137] max_color = 0, dither_colors = 0
D [27/Jan/2007:15:58:36 +0100] [Job 137] cache_size = 8388608
D [27/Jan/2007:15:58:36 +0100] [Job 137] cups->header.Duplex = 0
D [27/Jan/2007:15:58:36 +0100] [Job 137] cups->page = 1
D [27/Jan/2007:15:58:36 +0100] [Job 137] cupsPPD = 0x8685b50
D [27/Jan/2007:15:58:36 +0100] [Job 137] cupsPPD->flip_duplex = 0
D [27/Jan/2007:15:58:36 +0100] [Job 137] width = 850, height = 1100
D [27/Jan/2007:15:58:36 +0100] [Job 137] PageSize = [ 612 792 ], HWResolution = 
[ 100 100 ]
D [27/Jan/2007:15:58:36 +0100] [Job 137] HWMargins = [ 0.000 0.000 0.000 0.000 ]
D [27/Jan/2007:15:58:36 +0100] [Job 137] matrix = [ 1.389 0.000 0.000 -1.389 
-0.000 1100.000 ]

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/2007:15:58:36 +0100] [Job 137] Updating PageSize to [612 792]...
D [27/Jan/2007:15:58:36 +0100] [Job 137] size = Letter


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=en_GB.UTF-8, LC_PAPER=en_GB.UTF-8
/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-1ubuntu1       linuxprinting.org 
printer support - programs
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-filters-ppds    20060406-0ubuntu1             linuxprinting.org 
printer support - prebuilt
ii  gs-common                0.3.9ubuntu1                  Common files for 
different Ghostscript relea
ii  gs-esp                   8.15.2.dfsg.0ubuntu1-0ubuntu1 The Ghostscript 
PostScript interpreter - ESP
ii  gutenprint               5.0.0-1                       Gutenprint 5.0.0
ii  hpijs                    2.1.7+0.9.7-4ubuntu1          HP Linux Printing 
and Imaging - gs IJS drive
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://wiki.ubuntu.com/PrintingBugInfoScript)
Tue, 30 Jan 2007 11:18:20 +0100

** Affects: cupsys (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
Printer output on wrong paper size
https://launchpad.net/bugs/82265

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to