converting from rastertortl to the HP-PCL driver
Michael Sweet
mike at easysw.com
Sat Mar 17 05:58:17 PDT 2007
Franz Pfoertsch wrote:
> Hello
> Years ago I compiled the rastertortl driver from cups 1.2-beta to printout
> on HP Designjet 600.
>
> Michael help me to build up a ppd using the cups ddk.
>
> but today this driver isn't supported anymore.
>
> Here is my dsgnjt600.drv file.
>
> please give me a example to make them running with the new hp-pcl driver.
The equivalent for the current pclx driver just requires changes
I've marked in-line...
> // Include standard font and media definitions
> #include <font.defs>
> #include <media.defs>
Add:
#include <pcl.h>
> // List the fonts that are supported, in this case all standard
> // fonts...
> Font *
>
> // Specify that this driver uses the HP-PCL driver...
> DriverType rtl
Change to:
DriverType pclx
> // Manufacturer, model name, and version
> Manufacturer "HP"
> Version 2.0
> ModelName "DesignJet 600 rtl"
>
> //ModelNumber 1
>
> ModelNumber ($RTL_PJL)
Change to:
ModelNumber ($PCL_RASTER_END_COLOR $PCL_RASTER_RGB24 $PCL_PJL
$PCL_PJL_PAPERWIDTH $PCL_PJL_PCL3GUI
$PCL_PJL_RESOLUTION)
> // Specify the name of the PPD file we want to generate...
> PCFileName "dsgnjt600.ppd"
>
> ColorDevice false
> Cutter true
> Throughput 1
>
> // Supported page sizes
> HWMargins 14.4 28.8 14.4 28.8
> MediaSize Letter
> MediaSize Tabloid
> MediaSize AnsiC
> MediaSize AnsiD
> MediaSize AnsiE
> MediaSize ARCHA
> MediaSize ARCHA.Transverse
> MediaSize ARCHB
> MediaSize ARCHB.Transverse
> MediaSize ARCHC
> MediaSize ARCHC.Transverse
> MediaSize ARCHD
> MediaSize ARCHD.Transverse
> MediaSize A0
> MediaSize A1
> MediaSize A1.Transverse
> MediaSize A2
> MediaSize A2.Transverse
> MediaSize A3
> *MediaSize A3.Transverse
> MediaSize A4
> MediaSize A4.Transverse
>
> VariablePaperSize true
> MinSize 288 288
> MaxSize 2592 3600
>
> // Supported resolutions
> Option "Resolution/Output Resolution" PickOne AnySetup 20.0
> Choice "150dpi/150 DPI" "<</HWResolution[150 150]>>setpagedevice"
> *Choice "300dpi/300 DPI" "<</HWResolution[300 300]>>setpagedevice"
> Choice "600dpi/600 DPI" "<</HWResolution[600 600]>>setpagedevice"
>
> Option "OutputMode/Print Quality" PickOne AnySetup 50.0
> Choice "Draft/Draft" " <</OutputType (Draft)>>setpagedevice"
> *Choice "Normal/Normal" " <</OutputType (Normal)>>setpagedevice"
> Choice "Best/Best" " <</OutputType (Best)>>setpagedevice"
Add:
ColorModel Gray/Grayscale w chunky 8
*ColorModel RGB/Color rgb chunky 8
--
______________________________________________________________________
Michael Sweet, Easy Software Products mike at easysw dot com
Internet Printing and Publishing Software http://www.easysw.com
More information about the cups
mailing list