[cups.development] Problem with HWResolution set to an value not in

René Rebe rene at exactcode.de
Mon Jun 6 02:42:32 PDT 2005


Hi all,

I'm running the lated stable CUPS release labelled "1.1.23". However I 
experience a problem with the rasterizer for the Minota Magicolor 2430dl 
laser printer as shipped by Minolta and delivered in source form, licensed 
under the GPL.

Often printing works fine - however with certain Postscript input (it is yet 
unclear what files couse this - however it seems the file need to be large - 
e.g. above one MB or so) the driver quits with:

Resolution 100 is not support.

This is due to the driver is only expecting 100 dpi and up:

if(header.HWResolution[0]>=600)
{
  // ...
}
else
{
  fprintf(stderr, "ERROR: Resolution %d is not support\n", 
header.HWResolution[0]);
  // ..
  return(1);
}

as specified in the PPD file:

*%DefaultResolution: 600dpi

*OpenGroup: *PrinterOptions/Basic Features

*OpenUI *Resolution/Resolution: PickOne
*OrderDependency: 20 AnySetup *Resolution
*DefaultResolution: 1200x600dpi
*Resolution 600x600dpi/600x600 DPI: "
<</HWResolution[600 600]>>setpagedevice"
*End
*Resolution 1200x600dpi/1200x600 DPI: "
<</HWResolution[1200 600]>>setpagedevice"
*End
*Resolution 2400x600dpi/2400x600 DPI: "
<</HWResolution[2400 600]>>setpagedevice"
*End
*CloseUI: *Resolution

I already looked into the source, but have not yet located why CUPS often does 
hand 600 dpi to the "rastertokml" and for some (so far it looks big files) it 
does use 100 dpi ... ???

I noticed in the log and source, that it starts with 100dpi and then, later 
on, sets the HWResolution to the one specified by the user / printer. However 
so far it is a mystery to me why this does only happen work sometimes.

The rasterizer source is available here:

  http://dl.exactcode.de/magicolor/

And I would post debug cups logs if they are a help. Any help, including 
pointing to a specific cups source file where I should take a look into, is 
appreciated.

Sincerely,

-- 
René Rebe - Rubensstr. 64 - 12157 Berlin (Europe / Germany)
            http://www.exactcode.de | http://www.t2-project.org
            +49 (0)30  255 897 45
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.cups.org/pipermail/cups/attachments/20050606/620c10ab/attachment.bin>


More information about the cups mailing list