--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: imagetoraster produces "Unsupported raster data"
- From: Brian Potkin <claremont102@gmail.com>
- Date: Mon, 26 Dec 2016 13:28:30 +0000
- Message-id: <20161226132829.GB14212@copernicus.org.uk>
Package: cups-filters
Version: 1.13.1-1
Severity: important
Tags: upstream
cups-browsed has "CreateIPPPrintersQueues AppleRaster" and my ENVY 4500
has a queue correctly created for it with an everywhere PPD.
Testing conversion of an image file:
PPD=/etc/cups/ppd/HP-ENVY-4500-series.ppd
FILE=/usr/share/backgrounds/gnome/Icescape.jpg
cupsfilter -p $PPD -m printer/foo -e $FILE > out.urf 2>log
Part of the log:
PAGE: 1 1
ERROR: Unsupported raster data.
DEBUG: Bad bottom/left/top margin on page 1.
ERROR: rastertopwg (PID 1011) stopped with status 1
INFO: imagetoraster (PID 1010) exited with no errors.
The complete log is attached.
Converting to application/vnd.cups-pdf, then to application/vnd.cups-raster
and finally to image/urf gives no errors and the file prints.
Cheers,
--
Brian.
cupsfilter: File "/usr/lib/cups/filter/rastertopclx" permissions OK (040755/uid=0/gid=0).
DEBUG: argv[0]="cupsfilter"
DEBUG: argv[1]="1"
DEBUG: argv[2]="root"
DEBUG: argv[3]="Icescape.jpg"
DEBUG: argv[4]="1"
DEBUG: argv[5]=""
DEBUG: argv[6]="/usr/share/backgrounds/gnome/Icescape.jpg"
DEBUG: envp[0]="<CFProcessPath>"
DEBUG: envp[1]="CONTENT_TYPE=image/jpeg"
DEBUG: envp[2]="CUPS_DATADIR=/usr/share/cups"
DEBUG: envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
DEBUG: envp[4]="CUPS_SERVERBIN=/usr/lib/cups"
DEBUG: envp[5]="CUPS_SERVERROOT=/etc/cups"
DEBUG: envp[6]="LANG=en_GB.UTF8"
DEBUG: envp[7]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
DEBUG: envp[8]="PPD=/etc/cups/ppd/HP-ENVY-4500-series.ppd"
DEBUG: envp[9]="PRINTER_INFO=cupsfilter"
DEBUG: envp[10]="PRINTER_LOCATION=Unknown"
DEBUG: envp[11]="PRINTER=cupsfilter"
DEBUG: envp[12]="RIP_MAX_CACHE=128m"
DEBUG: envp[13]="USER=root"
DEBUG: envp[14]="CHARSET=utf-8"
DEBUG: envp[15]="FINAL_CONTENT_TYPE=image/urf"
INFO: imagetoraster (PID 1043) started.
INFO: rastertopwg (PID 1044) started.
DEBUG: Page = 595x842; 9,36 to 586,833
DEBUG: Color Manager: Calibration Mode/Off
DEBUG: Calling FindDeviceById(cups-cupsfilter)
DEBUG: Failed to send: org.freedesktop.ColorManager.NotFound:device id 'cups-cupsfilter' does not exist
DEBUG: Failed to get find device cups-cupsfilter
DEBUG: Searching for profile "/Stationery"...
INFO: Loading print file.
DEBUG: num_components = 3
DEBUG: jpeg_color_space = JCS_YCbCr
DEBUG: Converting image to RGB...
DEBUG: JPEG image 2560x1600x3, 240x240 PPI
DEBUG: Before scaling: xppi=0, yppi=0, zoom=1.00
DEBUG: Before scaling: xprint=8.0, yprint=11.1
DEBUG: img->xppi = 240, img->yppi = 240, aspect = 1.000000
DEBUG: Portrait size is 8.02 x 5.01 inches
DEBUG: Landscape size is 11.07 x 6.92 inches
DEBUG: Auto orientation...
DEBUG: Using landscape orientation...
DEBUG: xpages = 1x11.07in, ypages = 1x6.92in
DEBUG: PageSize = [595 841]
DEBUG: cupsWidth = 2405
DEBUG: cupsHeight = 3322
DEBUG: cupsBitsPerColor = 8
DEBUG: cupsBitsPerPixel = 24
DEBUG: cupsBytesPerLine = 7215
DEBUG: cupsColorOrder = 0
DEBUG: cupsColorSpace = 19
DEBUG: img->colorspace = 3
INFO: Formatting page 1.
DEBUG: Duplex = 0
DEBUG: HWResolution = [ 300 300 ]
DEBUG: ImagingBoundingBox = [ 185 -101 683 696 ]
DEBUG: Margins = [ 9 36 ]
DEBUG: ManualFeed = 0
DEBUG: MediaPosition = 0
DEBUG: NumCopies = 1
DEBUG: Orientation = 0
DEBUG: PageSize = [ 595 841 ]
DEBUG: cupsWidth = 2405
DEBUG: cupsHeight = 3322
DEBUG: cupsMediaType = 0
DEBUG: cupsBitsPerColor = 8
DEBUG: cupsBitsPerPixel = 24
DEBUG: cupsBytesPerLine = 7215
DEBUG: cupsColorOrder = 0
DEBUG: cupsColorSpace = 19
DEBUG: cupsCompression = 0
PAGE: 1 1
ERROR: Unsupported raster data.
DEBUG: Bad bottom/left/top margin on page 1.
ERROR: rastertopwg (PID 1044) stopped with status 1
INFO: imagetoraster (PID 1043) exited with no errors.
--- End Message ---
--- Begin Message ---
Source: cups-filters
Source-Version: 1.11.6-3
We believe that the bug you reported is fixed in the latest version of
cups-filters, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 849380@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Didier Raboud <odyx@debian.org> (supplier of updated cups-filters package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 19 Jan 2017 14:44:34 +0100
Source: cups-filters
Binary: libcupsfilters1 libfontembed1 cups-filters cups-filters-core-drivers libcupsfilters-dev libfontembed-dev cups-browsed
Architecture: source
Version: 1.11.6-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Printing Team <debian-printing@lists.debian.org>
Changed-By: Didier Raboud <odyx@debian.org>
Description:
cups-browsed - OpenPrinting CUPS Filters - cups-browsed
cups-filters - OpenPrinting CUPS Filters - Main Package
cups-filters-core-drivers - OpenPrinting CUPS Filters - PPD-less printing
libcupsfilters-dev - OpenPrinting CUPS Filters - Development files for the library
libcupsfilters1 - OpenPrinting CUPS Filters - Shared library
libfontembed-dev - OpenPrinting CUPS Filters - Development files for font embed libr
libfontembed1 - OpenPrinting CUPS Filters - Font Embed Shared library
Closes: 848167 848223 849380
Changes:
cups-filters (1.11.6-3) unstable; urgency=medium
.
[ Didier Raboud ]
* Backport bug-fixes from the 1.13 branch:
- cups-browsed: Fixed handling of IPP network printer queues when
cupsd gets temporarily stopped while cups-browsed keeps running
(Closes: #848167, #848223)
- imagetoraster: Fixed several bugs in the calculation of the page
geometry (Closes: #849380)
- cups-browsed: Make support for printers with IPv6 IP addresses work
Checksums-Sha1:
67937e5bcd7abdca519d1d79659b1b9a7a8a1c1d 2748 cups-filters_1.11.6-3.dsc
a87ba02c3c1ca8f98f0e1378a79b649719bb2bfe 74612 cups-filters_1.11.6-3.debian.tar.xz
Checksums-Sha256:
77ca7558ffec2bf08d0c36807824413d94d7de1b4ff0e43da19525f49c7d2ad5 2748 cups-filters_1.11.6-3.dsc
17fdfe42e5b0cdc1b2b3c31dffad01497c634325d41be980648a9152287864c4 74612 cups-filters_1.11.6-3.debian.tar.xz
Files:
ee509e8c4c1d648bf4fe3e671d67c370 2748 net optional cups-filters_1.11.6-3.dsc
c2c596f3fea1c5ca8b5c7afe24c197ab 74612 net optional cups-filters_1.11.6-3.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQGzBAEBCgAdFiEEe+WPIRpjNw1/GSB7i8+nHsoWNFUFAliAxNUACgkQi8+nHsoW
NFWbAAv/SPAXYc2gz4rDQdh1+9Vw4WLHaHGytUM3tFkkTQ9Pd/XUDnMzrsXdwz/5
q1EWXwbfyXztb8oKiSixeb8yS3ntgnckJOD1hgHWcrfntDYzUwBmMC136hQ7Iv63
9v021s2DLjP0ZslvsUOG5tjl0ihcQPxaS5m+yqPalqbCM0YD42JjhQkLuHlA4LTT
9T9DwtACujrdNPCgyKxkQx4Ox4RhYaGXEej4+e2WwsYxKeK5mBDL6qBQPGlDx0SF
SBQGH5AVsBAClNvjVmJ/giu/qRlb2TrWQQ8EekOjs2LQaEHgSx439iyisuV5MY4+
WTmbjhbPdc7+Wac+g5g/99S8M3+ZfpYkha9P+QZ2E9EmPpbmRRnZ4kfvLH/W9tWB
/zO8ev3op6ZRVLolii8OEv6zaDq6zTFNqJ9gR6SBbutUxgwMnKy5G+qqVcmgyn0L
Gqv49T7iRO/yssxE4XEjiONFxjmWMFzungJfVKU9bTfifl3K884oCbv8KTIz2i1d
R1Q/Vh6l
=koWc
-----END PGP SIGNATURE-----
--- End Message ---