foomatic-rip filter failed

Bug #196687 reported by Yves Le Berre
4
Affects Status Importance Assigned to Milestone
foomatic-filters (Ubuntu)
Fix Released
Medium
Unassigned
ghostscript (Debian)
Fix Released
Unknown

Bug Description

root@jupiter:~# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu hardy (development branch)"
root@jupiter:~#

cupsd.conf LogLevel changed from warning to debug.

I tried to print a jpg image through gimp (10x15 or 4x6 inch)
I got this log (see attachment)

Revision history for this message
Yves Le Berre (yleberre) wrote :
Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote :

D [28/Feb/2008:18:58:35 +0100] [Job 16] renderer command: gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="deskjet 5600" -dDEVICEWIDTHPOINTS=0 -dDEVICEHEIGHTPOINTS=0 -dDuplex=false -r300 -sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2,PS:MediaPosition=6 -dIjsUseOutputFD -sOutputFile=- -
D [28/Feb/2008:18:58:36 +0100] [Job 16] Unrecoverable error: configurationerror in setpagedevice

It looks like PageSize=Custom is used which causes the -dDEVICEWIDTHPOINTS=0 -dDEVICEHEIGHTPOINTS=0 parameters to be use that cause the problem. Not sure if this is a problem in ghostscript or the PPD file (foomatic-db-hpijs).
Has also been reported in Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=459930.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Probably the custom page size was selected but bogus values for the width and the height of the paper supplied, or no values at all.

This can for example happen if:

* A printing dialog does not support custom page sizes by showing input fields for the dimensions of the paper when the page size "Custom" is selected, but it allows to select "Custom", which does not make sense without dimensions. To see correctly implemented printing dialogs install xpp or flphoto from Universe.
* On the command line of "lp" or "lpr" the option "-o PageSize=Custom" was supplied and not "-o PageSize=Custom.10x20cm".
* An application sends option strings in localized format to CUPS, for example "PageSize=Custom.20,5x11,5cm" (Note that here "," instead of "." is used as decimal point).

There are two things which need fixing:

* foomatic-rip should fall back to the default paper size if the dimensions for a custom paper size are bogus.
* Applications (or the desktop's printing dialog) should send correct custom paper sizes or not allow to choose "Custom" as paper size.

This is not a Ghostscript bug, as the input is bogus.

Changed in ghostscript:
importance: Undecided → Medium
status: New → Triaged
Changed in ghostscript:
status: Unknown → New
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Was already fixed some time ago.

Changed in foomatic-filters:
status: Triaged → Fix Released
Changed in ghostscript (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.