Package: cups Version: 1.3.9-14 Severity: important
Hi, after upgrading last week, printed pages have lost top first cm, and there is a large space at the bottom too. After searching on net, I found LP bug similar to my problem: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/282186 and it seems the problem is in pstopdf script. If I use the pstopdf from the bug above (final link - http://launchpadlibrarian.net/19430834/pstopdf ), than it works correctly for me. Steps to reproduce: - have installed some real PPD (I have HP OfficeJet R65) in CUPS - print a test page to PDF through CUPS, it shows printable area: /usr/sbin/cupsfilter -m application/vnd.cups-pdf -p /etc/cups/ppd/R65.ppd /usr/share/cups/data/testprint.ps >test1.pdf - after some checking, I realized, that the paper size is taken from /etc/papersize and PPD is ignored. This is not corect. I run more scenarios: 1) original pstopdf echo letter > /etc/papersize In output, there was: Imageable Area Page Size: 8.5x11.0in 215.9x279.4mm Lower-Left: 0.0x0.0in 0.0x0.0mm Upper-Right: 8.5x11.0in 215.9x279.4mm I.e. PPD was ignored. 2) original pstopdf echo a4 > /etc/papersize In output, there was: Imageable Area Page Size: 8.26x11.7in 209.9x297.1mm Lower-Left: 0.0x0.0in 0.0x0.0mm Upper-Right: 8.26x11.7in 209.9x297.1mm I.e. PPD was ignored. 3) after I replaced pstopdf from the link above, I had correct results: echo letter > /etc/papersize # yes, even with letter it reads correctly PPD: A4 with real margins Imageable Area Page Size: 7.99x11.07in 203.0x281.2mm Lower-Left: 0.14x0.5in 3.4x12.7mm Upper-Right: 8.13x11.57in 206.5x293.9mm I.e. PPD was used correctly for paper size and margins. It seems, that this was already fixed in cups 1.3.9-3, but now in 1.3.9-14 it is again here. Why is it back? Workaround for me: use pstopdf from the link above. Regards, Lada P.S. It is really important bug, mainly for my wife :-) -- System Information: Debian Release: 5.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.26-1-486 Locale: LANG=czech, LC_CTYPE=czech (charmap=ISO-8859-2) Shell: /bin/sh linked to /bin/bash Versions of packages cups depends on: ii adduser 3.110 add and remove users and groups ii bc 1.06.94-3 The GNU bc arbitrary precision cal ii cups-common 1.3.9-14 Common UNIX Printing System(tm) - ii debconf [debconf-2.0] 1.5.25 Debian configuration management sy ii ghostscript 8.63.dfsg.1-2 The GPL Ghostscript PostScript/PDF ii libavahi-compat-libdn 0.6.24-2 Avahi Apple Bonjour compatibility ii libc6 2.7-18 GNU C Library: Shared libraries ii libcups2 1.3.9-14 Common UNIX Printing System(tm) - ii libcupsimage2 1.3.9-14 Common UNIX Printing System(tm) - ii libdbus-1-3 1.2.12-1 simple interprocess messaging syst hi libgcc1 1:4.3.3-4 GCC support library ii libgnutls26 2.6.4-2 the GNU TLS library - runtime libr ii libijs-0.35 0.35-6 IJS raster image transport protoco ii libkrb53 1.6.dfsg.4~beta1-6 MIT Kerberos runtime libraries ii libldap-2.4-2 2.4.11-1 OpenLDAP libraries ii libpam0g 1.0.1-5 Pluggable Authentication Modules l ii libpaper1 1.1.23+nmu1 library for handling paper charact ii libpoppler3 0.8.7-1 PDF rendering library ii libslp1 1.2.1-7.5 OpenSLP libraries hi libstdc++6 4.3.3-4 The GNU Standard C++ Library v3 ii lsb-base 3.2-20 Linux Standard Base 3.2 init scrip ii perl-modules 5.10.0-19 Core Perl modules ii poppler-utils [xpdf-u 0.8.7-1 PDF utilitites (based on libpopple ii procps 1:3.2.7-11 /proc file system utilities ii ssl-cert 1.0.23 simple debconf wrapper for OpenSSL ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime Versions of packages cups recommends: ii avahi-utils 0.6.24-2 Avahi browsing, publishing and dis ii cups-client 1.3.9-14 Common UNIX Printing System(tm) - ii foomatic-filters 4.0-20090301-1 OpenPrinting printer support - fil ii gsfonts-x11 0.21 Make Ghostscript fonts available t ii smbclient 2:3.3.0-3 command-line SMB/CIFS clients for ii ttf-freefont 20080323-3 Freefont Serif, Sans and Mono True Versions of packages cups suggests: ii cups-bsd 1.3.9-14 Common UNIX Printing System(tm) - pn cups-driver-gutenprint <none> (no description available) ii cups-pdf 2.5.0-1 PDF printer for CUPS ii foomatic-db 20090301-1 OpenPrinting printer support - dat ii foomatic-db-engine 4.0-20090301-1 OpenPrinting printer support - pro ii hplip 2.8.12-3 HP Linux Printing and Imaging Syst pn xpdf-korean | xpdf-japane <none> (no description available) -- debconf-show failed -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org