[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#849380: imagetoraster produces "Unsupported raster data"



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.

Reply to: