[Printing-user-general] rpd is not ppd?.?.?

carlos demaine <[email protected]> Mon, 30 Oct 2006 17:24:33 +1000
Newsgroups gmane.linux.printing.general
Message-ID <[email protected]>
--Boundary-00=_xiaRFU/WeTaGW73
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

hi all

i am trying to get a roland sx-15 plotter to work in linux.  i've worked out 
that the file format is pcl or hpgl.  the windows driver comes with an 
appropriate rpd file which looks suspiciously like a ppd. see attachment.  
does anyone know how to convert this to ppd and is there any chance that it 
will work with cups through lp0

regards carlos

--Boundary-00=_xiaRFU/WeTaGW73
Content-Type: text/plain;
  charset="us-ascii";
  name="sx15.rpd"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="sx15.rpd"

*RPD-Roland: "1.0"
*FormatVersion: "1.0"
*FileVersion: "1.0"
*LanguageVersion: Japanese
*PCFileName: "sx15.rpd"
*Product: "(SX-15)"
*ModelName: "SX-15"
*NickName: "SX-15"
*ShortNickName: "SX-15"
*ModelType: "STIKA"
*PenForceEnable: False
*8MacToolsEnable: False
*ToolInfo: 0 0 0 12 100 80 0 350 250
*ToolChangeEnable: False
*SwitchWidth: 2500 3400
*PermanentForm: "1"

*% ==== Device Capabilities ===============
*ColorDevice: True
*DefaultColorSpace: CMYK
*VariablePaperSize: False
*Throughput: "1"

*DefaultResolution: 1016dpi
*Resolution 1016dpi: "1 dict dup /HWResolution [1016 1016] put setpagedevice"
*?Resolution: "
  save
    currentpagedevice /HWResolution get
    0 get
    (          ) cvs print
    (dpi)
    = flush
  restore
"
*End

*% Halftone Information ===============
*ScreenFreq: "60.0"
*ScreenAngle: "0.0"
*DefaultScreenProc: Dot
*ScreenProc Dot: "
{abs   exch   abs   2 copy   add   1 gt   {1 sub   dup   mul   exch
1 sub   dup   mul   add   1 sub  } {dup   mul   exch   dup   mul
add   1 exch   sub  } ifelse  }
"
*End
*SpotFunctionLine: "{ pop }"
*SpotFunctionEllipse: "{ dup 5 mul 8 div mul exch dup mul exch add sqrt 1
exch sub }"
*End

*DefaultTransfer: Null
*Transfer Null: "{ }"
*Transfer Null.Inverse: "{ 1 exch sub }"



*%=============== Print Quality ================

*OpenUI *OutputMode/Print Quality: PickOne
*OrderDependency: 50 AnySetup *OutputMode
*DefaultOutputMode: Enhanced
*OutputMode Draft/Draft: "
<<	/PostRenderingEnhance true
	/PostRenderingEnhanceDetails 
	<<	/PrintQuality 1
		/Type 11 >>
>>	setpagedevice"
*End

*OutputMode Final/Final: "
<<	/PostRenderingEnhance true
	/PostRenderingEnhanceDetails 
	<<	/PrintQuality 2
		/Type 11 >>
>>	setpagedevice"
*End

*OutputMode Enhanced/Enhanced: "
<<	/PostRenderingEnhance true
	/PostRenderingEnhanceDetails 
	<<	/PrintQuality 3
		/Type 11 >>
>>	setpagedevice"
*End

*OutputMode DraftBlack/Draft - black/gray: "
<<	/ProcessColorModel /DeviceGray
	/PostRenderingEnhance true
	/PostRenderingEnhanceDetails 
	<<	/PrintQuality 1
		/Type 11 >>
>>	setpagedevice"
*End

*OutputMode FinalBlack/Final - black/gray: "
<<	/ProcessColorModel /DeviceGray
	/PostRenderingEnhance true
	/PostRenderingEnhanceDetails 
	<<	/PrintQuality 2
		/Type 11 >>
>>	setpagedevice"
*End

*?OutputMode: "
	save
		<<
			1 (Draft)
			2 (Final)
			3 (Enhanced) >>
		currentpagedevice /PostRenderingEnhanceDetails get
		/PrintQuality get get = flush
	restore"
*End
*CloseUI: *OutputMode

*%=============== Halftoning ================

*OpenUI *Halftoning/Halftoning: PickOne 
*OrderDependency: 5 AnySetup *Halftoning 
*DefaultHalftoning: Unknown 
*Halftoning PrDefault/Printer's Default: ""
*Halftoning Cluster/Cluster: "
	/setcolorscreen{pop pop pop pop pop pop pop pop pop pop pop pop}bind def
	/setscreen{pop pop pop}bind def
	/sethalftone{pop}bind def
	version (2013.109) ne {
		/DefaultHalftone /ClusterHalftone /Halftone findresource
		/Halftone defineresource pop
	}if
"
*End
*Halftoning Scatter/Scatter: "
	/setcolorscreen{pop pop pop pop pop pop pop pop pop pop pop pop}bind def
	/setscreen{pop pop pop}bind def
	/sethalftone{pop}bind def
	version (2013.109) ne {
		/DefaultHalftone <</HalftoneType 9>> /Halftone defineresource pop
	}if
"
*End
*CloseUI: *Halftoning

*% Paper Handling ===================

*OpenUI *PageSize: PickOne
*OrderDependency: 30 AnySetup *PageSize
*DefaultPageSize: Unknown
*PageSize 340.0x270.0/340.0x270.0: "340.0x270.0"
*?PageSize: "
 save
   currentpagedevice /PageSize get aload pop
   2 copy gt {exch} if
  (Unknown)
  <<
		[964 765]	(340.0x270.0)
	>>
   { exch aload pop 4 index sub abs 5 le exch
   5 index sub abs 5 le and
      {exch pop exit} {pop} ifelse
   } bind forall
   = flush pop pop
restore"
*End
*CloseUI: *PageSize

*OpenUI *PageRegion: PickOne
*OrderDependency: 40 AnySetup *PageRegion
*DefaultPageRegion: Unknown
*PageRegion 340.0x270.0/340.0x270.0: "340.0x270.0"
*CloseUI: *PageRegion

*% The following entries provide information about specific paper keywords.
*DefaultImageableArea: Unknown
*ImageableArea 340.0x270.0/340.0x270.0: "0.00 0.00 963.78 765.36"
*?ImageableArea: "
save
/cvp {cvi (     ) cvs
print ( ) print} bind def
newpath clippath pathbbox
4 -2 roll exch 2 {ceiling cvp} repeat
exch 2 {floor cvp} repeat flush
restore"
*End

*% These provide the physical dimensions of the paper (by keyword)
*DefaultPaperDimension:Unknown
*PaperDimension 340.0x270.0/340.0x270.0: "963.78 765.36"

*RequiresPageRegion All: True

*OpenUI *InputSlot: PickOne
*DefaultInputSlot: OnlyOne
*InputSlot OnlyOne/Only One: ""
*CloseUI: *InputSlot

*% Custom Page Sizes ===================
*MaxMediaWidth: "963.78"
*MaxMediaHeight: "2834.65"
*HWMargins: 0 0 0 0
*ParamCustomPageSize Width: 1 points 144 2642
*ParamCustomPageSize Height: 2 points 144 129600
*ParamCustomPageSize WidthOffset: 3 points 0 2642
*ParamCustomPageSize HeightOffset: 4 points 0 129600
*ParamCustomPageSize Orientation: 5 int 0 3
*OrderDependency: 30 PageSetup *CustomPageSize
*CustomPageSize True: "
	4 dict begin
		/Orientation exch def
		2 array astore /Margins exch def
		2 array astore /PageSize exch def
		/ImagingBBox null def
		currentdict
	end setpagedevice
"
*End

*% Mirror Print ======================
*% (Windows only--incompatible with PSPrinter on Mac)
*OpenUI *MirrorPrint/Mirror Print:  Boolean
*OrderDependency: 50 AnySetup *MirrorPrint
*DefaultMirrorPrint: False
*MirrorPrint True: "<</MirrorPrint true>>setpagedevice"
*MirrorPrint False: "<</MirrorPrint false>>setpagedevice"
*?MirrorPrint: "
save
  currentpagedevice /MirrorPrint get
  {(True)}{(False)}ifelse = flush
restore
"
*End
*CloseUI: *MirrorPrint


*% Printer Messages (verbatim from printer):
*Message: "%%[ exitserver: permanent state may be changed ]%%"
*Message: "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"
*Message: "\FontName\ not found, using Courier"

*% Status (format: %%[ status: <one of these> ] %%)
*Status: "idle"
*Status: "busy"
*Status: "waiting"
*Status: "printing"
*Status: "intializing"
*Status: "printing test page"
*Status: "PrinterError: needs attention"
*Status: "PrinterError: cover open"
*Status: "PrinterError: warming up"
*Status: "PrinterError: resetting printer"
*Status: "PrinterError: output bin full"
*Status: "PrinterError: Paper Jam"
*Status: "PrinterError: no toner cartridge"
*Status: "PrinterError: manual feed"
*Status: "PrinterError: out of paper"
*Status: "PrinterError: page protect needed"
*Status: "PrinterError: out of memory"
*Status: "PrinterError: off line"

*% Input Sources (format: %%[ status: <stat>; source: <one of these> ]%% )
*Source: "Serial"
*Source: "SerialB"
*Source: "LocalTalk"
*Source: "Parallel"
*Source: "other"

*% Printer Error (format: %%[ PrinterError: <one of these> ]%%)
*PrinterError: "needs attention"
*PrinterError: "cover open"
*PrinterError: "warming up"
*PrinterError: "resetting printer"
*PrinterError: "output bin full"
*PrinterError: "Paper Jam"
*PrinterError: "no toner cartridge"
*PrinterError: "manual feed"
*PrinterError: "out of paper"
*PrinterError: "page protect needed"
*PrinterError: "out of memory"
*PrinterError: "off line"


*%DeviceAdjustMatrix: "[1 0 0 1 0 0]"

*% Color Separation Information =====================

*DefaultColorSep: ProcessBlack.60lpi.1016dpi/60 lpi / 1016 dpi


*InkName: ProcessBlack/Process Black
*InkName: CustomColor/Custom Color
*InkName: ProcessCyan/Process Cyan
*InkName: ProcessMagenta/Process Magenta
*InkName: ProcessYellow/Process Yellow

*%  For 60 lpi / 1016 dpi  ===============================

*ColorSepScreenAngle ProcessBlack.60lpi.1016dpi/60 lpi / 1016 dpi: "45"
*ColorSepScreenAngle CustomColor.60lpi.1016dpi/60 lpi / 1016 dpi: "45"
*ColorSepScreenAngle ProcessCyan.60lpi.1016dpi/60 lpi / 1016 dpi: "15"
*ColorSepScreenAngle ProcessMagenta.60lpi.1016dpi/60 lpi / 1016 dpi: "75"
*ColorSepScreenAngle ProcessYellow.60lpi.1016dpi/60 lpi / 1016 dpi: "0"

*ColorSepScreenFreq ProcessBlack.60lpi.1016dpi/60 lpi / 1016 dpi: "60"
*ColorSepScreenFreq CustomColor.60lpi.1016dpi/60 lpi / 1016 dpi: "60"
*ColorSepScreenFreq ProcessCyan.60lpi.1016dpi/60 lpi / 1016 dpi: "60"
*ColorSepScreenFreq ProcessMagenta.60lpi.1016dpi/60 lpi / 1016 dpi: "60"
*ColorSepScreenFreq ProcessYellow.60lpi.1016dpi/60 lpi / 1016 dpi: "60"

*%  For 53 lpi / 1016 dpi  ===============================

*ColorSepScreenAngle ProcessBlack.53lpi.1016dpi/53 lpi / 1016 dpi: "45.0"
*ColorSepScreenAngle CustomColor.53lpi.1016dpi/53 lpi / 1016 dpi: "45.0"
*ColorSepScreenAngle ProcessCyan.53lpi.1016dpi/53 lpi / 1016 dpi: "71.5651"
*ColorSepScreenAngle ProcessMagenta.53lpi.1016dpi/53 lpi / 1016 dpi: "18.4349"
*ColorSepScreenAngle ProcessYellow.53lpi.1016dpi/53 lpi / 1016 dpi: "0.0"

*ColorSepScreenFreq ProcessBlack.53lpi.1016dpi/53 lpi / 1016 dpi: "53.033"
*ColorSepScreenFreq CustomColor.53lpi.1016dpi/53 lpi / 1016 dpi: "53.033"
*ColorSepScreenFreq ProcessCyan.53lpi.1016dpi/53 lpi / 1016 dpi: "47.4342"
*ColorSepScreenFreq ProcessMagenta.53lpi.1016dpi/53 lpi / 1016 dpi: "47.4342"
*ColorSepScreenFreq ProcessYellow.53lpi.1016dpi/53 lpi / 1016 dpi: "50.0"


*% Last Edit Date: 09 Dec 1996
*% End of PPD file for Roland Plotter

--Boundary-00=_xiaRFU/WeTaGW73
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Printing-user-general mailing list
[email protected]
http://lists.freestandards.org/mailman/listinfo/printing-user-general
--Boundary-00=_xiaRFU/WeTaGW73--