New driver development help - Okimate 20

Sean M. Pappalardo pegasus at renegadetech.com
Sun Nov 25 16:41:44 PST 2007


> I am not familiar with how rasterto* works, but as you said, you just need to
> specify different resolutions for the horizontal direction (in ghostscript it is
> -r900x300 instead of -r300, for example). I am sure rasterto* allows you to do
> that, or you can specify it up stream in ghostscript's devcups device driver
> line. (possibly in the ppd).

I did that already in the ppd. Here's the code snippet from it:

[code]
*Resolution 60x72dpi/Single density (60x72 DPI): "<</HWResolution[60 72]/cupsBitsPerColor 8/cupsRowCount 8/cupsRowFeed 7/cupsRowStep 72>>setpagedevice"
*Resolution 120x72dpi/Double density half speed (120x72 DPI): "<</HWResolution[120 72]/cupsBitsPerColor 8/cupsRowCount 8/cupsRowFeed 7/cupsRowStep 72>>setpagedevice"
*Resolution 240x72dpi/Quadruple density (240x72 DPI): "<</HWResolution[240 72]/cupsBitsPerColor 8/cupsRowCount 8/cupsRowFeed 7/cupsRowStep 72>>setpagedevice"
*Resolution 120x144dpi/24-dot (120x144 DPI): "<</HWResolution[120 144]/cupsBitsPerColor 8/cupsRowCount 24/cupsRowFeed 7/cupsRowStep 72>>setpagedevice"
[/code]

The strange thing is that it worked the very first time I tested it in 24-pin mode! I didn't change anything here so am wondering why it doesn't work now.




More information about the cups-devel mailing list