how to repair PPD file
Hi,
i cant repair the PPD file which is a part of Epson eplijs driver.I get the following mesasage: Checking file "./Epson-EPL-6200L-epl6200l-cups.ppd" ./Epson-EPL-6200L-epl6200l-cups.ppd: FAIL **FAIL** Unable to open PPD file - Illegal whitespace character on line 129. WARN Line 44 only contains whitespace! 0 files passed. This is a PPD file: *PPD-Adobe: "4.3" *% *% For information on using this, and to obtain the required backend *% script, consult http://www.linuxprinting.org/cups-doc.html *% *% CUPS-O-MATIC generated this PPD file. It is for use with the CUPS *% printing system and the "cupsomatic" backend filter script. These *% two files work together to support the use of arbitrary free *% software drivers with CUPS, replete with basic support for *% driver-provided options. *% *% You may save this file as 'Epson-EPL-6200L-epl6200l-cups.ppd' *% *% *FormatVersion: "4.3" *FileVersion: "1.1" *LanguageVersion: English *LanguageEncoding: ISOLatin1 *PCFileName: "EPL6200L.PPD" *Manufacturer: "Epson" *Product: "EPL-6200L" *cupsVersion: 1.0 *cupsManualCopies: True *cupsModelNumber: 2 *cupsFilter: "application/vnd.cups-postscript 0 cupsomatic" *ModelName: "Epson EPL-6200L, Foomatic + epl6200l" *NickName: "Epson EPL-6200L, Foomatic + epl6200l" *ShortNickName: "Epson EPL-6200L" *PSVersion: "(3010.000) 550" *PSVersion: "(3010.000) 651" *PSVersion: "(3010.000) 652" *PSVersion: "(3010.000) 653" *PSVersion: "(3010.000) 704" *PSVersion: "(3010.000) 705" *LanguageLevel: "3" *ColorDevice: True *DefaultColorSpace: RGB *FileSystem: False *Throughput: "1" *LandscapeOrientation: Plus90 *VariablePaperSize: False *TTRasterizer: Type42 *OpenUI *PageSize/Page Size: PickOne *DefaultPageSize: Letter *PageSize Letter/US Letter: "<</PageSize[612 792]/ImagingBBox null>>setpagedevice" *PageSize A4/A4: "<</PageSize[595 842]/ImagingBBox null>>setpagedevice" *PageSize A5/A5: "<</PageSize[421 595]/ImagingBBox null>>setpagedevice" *PageSize B5/B5 (JIS): "<</PageSize[516 729]/ImagingBBox null>>setpagedevice" *PageSize Custom/Custom Size: "<</PageSize[0 0]/ImagingBBox null>>setpagedevice" *PageSize Env10/Envelope #10: "<</PageSize[297 684]/ImagingBBox null>>setpagedevice" *PageSize EnvC5/Envelope C5: "<</PageSize[459 649]/ImagingBBox null>>setpagedevice" *PageSize EnvDL/Envelope DL: "<</PageSize[312 624]/ImagingBBox null>>setpagedevice" *PageSize EnvISOB5/Envelope B5: "<</PageSize[499 709]/ImagingBBox null>>setpagedevice" *PageSize EnvMonarch/Envelope Monarch: "<</PageSize[279 540]/ImagingBBox null>>setpagedevice" *PageSize Executive/Executive: "<</PageSize[522 756]/ImagingBBox null>>setpagedevice" *PageSize Legal/US Legal: "<</PageSize[612 1008]/ImagingBBox null>>setpagedevice" *CloseUI: *PageSize *OpenUI *PageRegion: PickOne *OrderDependency: 10 AnySetup *PageRegion *DefaultPageRegion: Letter *PageRegion Letter/US Letter: "<</PageSize[612 792]/ImagingBBox null>>setpagedevice" *PageRegion A4/A4: "<</PageSize[595 842]/ImagingBBox null>>setpagedevice" *PageRegion A5/A5: "<</PageSize[421 595]/ImagingBBox null>>setpagedevice" *PageRegion B5/B5 (JIS): "<</PageSize[516 729]/ImagingBBox null>>setpagedevice" *PageRegion Custom/Custom Size: "<</PageSize[0 0]/ImagingBBox null>>setpagedevice" *PageRegion Env10/Envelope #10: "<</PageSize[297 684]/ImagingBBox null>>setpagedevice" *PageRegion EnvC5/Envelope C5: "<</PageSize[459 649]/ImagingBBox null>>setpagedevice" *PageRegion EnvDL/Envelope DL: "<</PageSize[312 624]/ImagingBBox null>>setpagedevice" *PageRegion EnvISOB5/Envelope B5: "<</PageSize[499 709]/ImagingBBox null>>setpagedevice" *PageRegion EnvMonarch/Envelope Monarch: "<</PageSize[279 540]/ImagingBBox null>>setpagedevice" *PageRegion Executive/Executive: "<</PageSize[522 756]/ImagingBBox null>>setpagedevice" *PageRegion Legal/US Legal: "<</PageSize[612 1008]/ImagingBBox null>>setpagedevice" *CloseUI: *PageRegion *DefaultImageableArea: Letter *ImageableArea Letter/US Letter: "0 0 612 792" *ImageableArea A4/A4: "0 0 595 842" *ImageableArea A5/A5: "0 0 421 595" *ImageableArea B5/B5 (JIS): "0 0 516 729" *ImageableArea Custom/Custom Size: "0 0 0 0" *ImageableArea Env10/Envelope #10: "0 0 297 684" *ImageableArea EnvC5/Envelope C5: "0 0 459 649" *ImageableArea EnvDL/Envelope DL: "0 0 312 624" *ImageableArea EnvISOB5/Envelope B5: "0 0 499 709" *ImageableArea EnvMonarch/Envelope Monarch: "0 0 279 540" *ImageableArea Executive/Executive: "0 0 522 756" *ImageableArea Legal/US Legal: "0 0 612 1008" *DefaultPaperDimension: Letter *PaperDimension Letter/US Letter: "612 792" *PaperDimension A4/A4: "595 842" *PaperDimension A5/A5: "421 595" *PaperDimension B5/B5 (JIS): "516 729" *PaperDimension Custom/Custom Size: "0 0" *PaperDimension Env10/Envelope #10: "297 684" *PaperDimension EnvC5/Envelope C5: "459 649" *PaperDimension EnvDL/Envelope DL: "312 624" *PaperDimension EnvISOB5/Envelope B5: "499 709" *PaperDimension EnvMonarch/Envelope Monarch: "279 540" *PaperDimension Executive/Executive: "522 756" *PaperDimension Legal/US Legal: "612 1008" *OpenUI *Density/Density: PickOne *DefaultDensity: 3 *Density 1/1: "" *Density 2/2: "" *Density 3/3: "" *Density 4/4: "" *Density 5/5: "" *CloseUI: *Density *OpenUI *Dpi/Dpi: PickOne *DefaultDpi: 600x600dpi *Dpi 300x300dpi/300x300 dpi: "" *Dpi 600x300dpi/600x300 dpi (Class600): "" *Dpi 600x600dpi/600x600 dpi: "" *Dpi 1200x600dpi/1200x600 dpi (Class1200): "" *CloseUI: *Dpi *OpenUI *FlowControl/Flow Control: PickOne *DefaultFlowControl: Off *FlowControl libieee1284/ParPort (libieee1284): "" *FlowControl libusb/USB (libusb): "" *FlowControl Off/Off: "" *FlowControl ParPort (kernel _dev_lp0)/ParPort (kernel dev_lp0): "" *FlowControl ParPort (kernel dev_lp1)/ParPort (kernel dev_lp1): "" *FlowControl USB (kernel dev_usb_lp0)/USB (kernel dev_usb_lp0): "" *FlowControl USB (kernel dev_usb_lp1)/USB (kernel dev_usb_lp1): "" *CloseUI: *FlowControl *OpenUI *Ritech/Ritech: PickOne *DefaultRitech: On *Ritech Off/Off: "" *Ritech On/On: "" *CloseUI: *Ritech *OpenUI *TonerSave/Toner Save: PickOne *DefaultTonerSave: Off *TonerSave Off/Off: "" *TonerSave On/On: "" *CloseUI: *TonerSave *% Generic boilerplate PPD stuff as standard PostScript fonts and so on *DefaultFont: Courier *Font AvantGarde-Book: Standard "(001.006S)" Standard ROM *Font AvantGarde-BookOblique: Standard "(001.006S)" Standard ROM *Font AvantGarde-Demi: Standard "(001.007S)" Standard ROM *Font AvantGarde-DemiOblique: Standard "(001.007S)" Standard ROM *Font Bookman-Demi: Standard "(001.004S)" Standard ROM *Font Bookman-DemiItalic: Standard "(001.004S)" Standard ROM *Font Bookman-Light: Standard "(001.004S)" Standard ROM *Font Bookman-LightItalic: Standard "(001.004S)" Standard ROM *Font Courier: Standard "(002.004S)" Standard ROM *Font Courier-Bold: Standard "(002.004S)" Standard ROM *Font Courier-BoldOblique: Standard "(002.004S)" Standard ROM *Font Courier-Oblique: Standard "(002.004S)" Standard ROM *Font Helvetica: Standard "(001.006S)" Standard ROM *Font Helvetica-Bold: Standard "(001.007S)" Standard ROM *Font Helvetica-BoldOblique: Standard "(001.007S)" Standard ROM *Font Helvetica-Narrow: Standard "(001.006S)" Standard ROM *Font Helvetica-Narrow-Bold: Standard "(001.007S)" Standard ROM *Font Helvetica-Narrow-BoldOblique: Standard "(001.007S)" Standard ROM *Font Helvetica-Narrow-Oblique: Standard "(001.006S)" Standard ROM *Font Helvetica-Oblique: Standard "(001.006S)" Standard ROM *Font NewCenturySchlbk-Bold: Standard "(001.009S)" Standard ROM *Font NewCenturySchlbk-BoldItalic: Standard "(001.007S)" Standard ROM *Font NewCenturySchlbk-Italic: Standard "(001.006S)" Standard ROM *Font NewCenturySchlbk-Roman: Standard "(001.007S)" Standard ROM *Font Palatino-Bold: Standard "(001.005S)" Standard ROM *Font Palatino-BoldItalic: Standard "(001.005S)" Standard ROM *Font Palatino-Italic: Standard "(001.005S)" Standard ROM *Font Palatino-Roman: Standard "(001.005S)" Standard ROM *Font Symbol: Special "(001.007S)" Special ROM *Font Times-Bold: Standard "(001.007S)" Standard ROM *Font Times-BoldItalic: Standard "(001.009S)" Standard ROM *Font Times-Italic: Standard "(001.007S)" Standard ROM *Font Times-Roman: Standard "(001.007S)" Standard ROM *Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM *Font ZapfDingbats: Special "(001.004S)" Standard ROM *% What follows is a dumped representation of the internal Perl data *% structure representing one entry in the Linux Printing Database. *% This is used by the backend filter to deal with the options. *% *% COMDATA #$VAR1 = { *% COMDATA # 'pnp_cmd' => undef, *% COMDATA # 'model' => 'EPL-6200L', *% COMDATA # 'maxspot' => 'Z', *% COMDATA # 'pnp_mdl' => undef, *% COMDATA # 'url' => 'http://sourceforge.net/projects/epsonepl/', *% COMDATA # 'id' => 'Epson-EPL-6200L', *% COMDATA # 'compiled-at' => 'Tue Dec 2 16:34:23 2003', *% COMDATA # 'snmp_mfg' => undef, *% COMDATA # 'cmd' => 'gs -q -dBATCH -dSAFER -dNOPAUSE -sProcessColorModel=DeviceGray -dBitsPerSample=1 -sDEVICE=ijs %A %Z -sIjsServer=ijs_server_epsonepl -dIjsUseOutputFD -sDeviceManufacturer=Epson -sDeviceModel=EPL6200L -sIjsParams="%B" -sOutputFile=- -', *% COMDATA # 'pjl' => undef, *% COMDATA # 'type' => 'G', *% COMDATA # 'par_cmd' => undef, *% COMDATA # 'pcmodel' => undef, *% COMDATA # 'usb_cmd' => undef, *% COMDATA # 'par_des' => undef, *% COMDATA # 'args' => [ *% COMDATA # { *% COMDATA # 'proto' => '<</PageSize[%s]/ImagingBBox null>>setpagedevice', *% COMDATA # 'style' => 'G', *% COMDATA # 'name' => 'PageSize', *% COMDATA # 'default' => 'Letter', *% COMDATA # 'vals' => [ *% COMDATA # { *% COMDATA # 'comment' => 'US Letter', *% COMDATA # 'value' => 'Letter', *% COMDATA # 'driverval' => '612 792', *% COMDATA # 'idx' => 'ev/epsonepl-PageSize-Letter' *% COMDATA # }, *% COMDATA # { *% COMDATA # 'comment' => 'A4', *% COMDATA # 'value' => 'A4', *% COMDATA # 'driverval' => '595 842', *% COMDATA # 'idx' => 'ev/epsonepl-PageSize-A4' *% COMDATA # }, *% COMDATA # { *% COMDATA # 'comment' => 'A5', *% COMDATA # 'value' => 'A5', *% COMDATA # 'driverval' => '421 595', *% COMDATA # 'idx' => 'ev/epsonepl-PageSize-A5' *% COMDATA # }, *% COMDATA # { *% COMDATA # 'comment' => 'B5 (JIS)', *% COMDATA # 'value' => 'B5', *% COMDATA # 'driverval' => '516 729', *% COMDATA # 'idx' => 'ev/epsonepl-PageSize-B5' *% COMDATA # }, *% COMDATA # { *% COMDATA # 'comment' => 'Custom Size', *% COMDATA # 'value' => 'Custom', *% COMDATA # 'driverval' => '0 0', *% COMDATA # 'idx' => 'ev/epsonepl-PageSize-Custom' *% COMDATA # }, *% COMDATA # { *% COMDATA # 'comment' => 'Envelope #10', *% COMDATA # 'value' => 'Env10', *% COMDATA # 'driverval' => '297 684', *% COMDATA # 'idx' => 'ev/epsonepl-PageSize-Env10' *% COMDATA # }, *% COMDATA # { *% COMDATA # 'comment' => 'Envelope C5', *% COMDATA # 'value' => 'EnvC5', *% COMDATA # 'driverval' => '459 649', *% COMDATA # 'idx' => 'ev/epsonepl-PageSize-EnvC5' *% COMDATA # }, *% COMDATA # { *% COMDATA # 'comment' => 'Envelope DL', *% COMDATA # 'value' => 'EnvDL', *% COMDATA # 'driverval' => '312 624', *% COMDATA # 'idx' => 'ev/epsonepl-PageSize-EnvDL' *% COMDATA # }, *% COMDATA # { *% COMDATA # 'comment' => 'Envelope B5', *% COMDATA # 'value' => 'EnvISOB5', *% COMDATA # 'driverval' => '499 709', *% COMDATA # 'idx' => 'ev/epsonepl-PageSize-EnvISOB5' *% COMDATA # }, *% COMDATA # { *% COMDATA # 'comment' => 'Envelope Monarch', *% COMDATA # 'value' => 'EnvMonarch', *% COMDATA # 'driverval' => '279 540', *% COMDATA # 'idx' => 'ev/epsonepl-PageSize-EnvMonarch' *% COMDATA # }, *% COMDATA # { *% COMDATA # 'comment' => 'Executive', *% COMDATA # 'value' => 'Executive', *% COMDATA # 'driverval' => '522 756', *% COMDATA # 'idx' => 'ev/epsonepl-PageSize-Executive' *% COMDATA # }, *% COMDATA # { *% COMDATA # 'comment' => 'US Legal', *% COMDATA # 'value' => 'Legal', *% COMDATA # 'driverval' => '612 1008', *% COMDATA # 'idx' => 'ev/epsonepl-PageSize-Legal' *% COMDATA # } *% COMDATA # ], *% COMDATA # 'spot' => 'Z', *% COMDATA # 'comment' => 'Page Size', *% COMDATA # 'order' => '100', *% COMDATA # 'vals_byname' => { *% COMDATA # 'EnvMonarch' => {}, *% COMDATA # 'EnvDL' => {}, *% COMDATA # 'Letter' => {}, *% COMDATA # 'EnvC5' => {}, *% COMDATA # 'A5' => {}, *% COMDATA # 'A4' => {}, *% COMDATA # 'Executive' => {}, *% COMDATA # 'Custom' => {}, *% COMDATA # 'EnvISOB5' => {}, *% COMDATA # 'Env10' => {}, *% COMDATA # 'Legal' => {}, *% COMDATA # 'B5' => {} *% COMDATA # }, *% COMDATA # 'idx' => 'opt/epsonepl-PageSize', *% COMDATA # 'type' => 'enum' *% COMDATA # }, *% COMDATA # { *% COMDATA # 'proto' => 'EplDensity=%s,', *% COMDATA # 'style' => 'C', *% COMDATA # 'name' => 'Density', *% COMDATA # 'default' => '3', *% COMDATA # 'vals' => [ *% COMDATA # { *% COMDATA # 'comment' => '1', *% COMDATA # 'value' => '1', *% COMDATA # 'driverval' => '1', *% COMDATA # 'idx' => 'ev/1001' *% COMDATA # }, *% COMDATA # { *% COMDATA # 'comment' => '2', *% COMDATA # 'value' => '2', *% COMDATA # 'driverval' => '2', *% COMDATA # 'idx' => 'ev/1002' *% COMDATA # }, *% COMDATA # { *% COMDATA # 'comment' => '3', *% COMDATA # 'value' => '3', *% COMDATA # 'driverval' => '3', *% COMDATA # 'idx' => 'ev/1003' *% COMDATA # }, *% COMDATA # { *% COMDATA # 'comment' => '4', *% COMDATA # 'value' => '4', *% COMDATA # 'driverval' => '4', *% COMDATA # 'idx' => 'ev/1004' *% COMDATA # }, *% COMDATA # { *% COMDATA # 'comment' => '5', *% COMDATA # 'value' => '5', *% COMDATA # 'driverval' => '5', *% COMDATA # 'idx' => 'ev/1005' *% COMDATA # } *% COMDATA # ], *% COMDATA # 'spot' => 'B', *% COMDATA # 'group' => 'Adjustment', *% COMDATA # 'comment' => 'Density', *% COMDATA # 'order' => '205', *% COMDATA # 'vals_byname' => { *% COMDATA # '4' => {}, *% COMDATA # '1' => {}, *% COMDATA # '3' => {}, *% COMDATA # '2' => {}, *% COMDATA # '5' => {} *% COMDATA # }, *% COMDATA # 'idx' => 'opt/epsonepl-Density', *% COMDATA # 'type' => 'enum' *% COMDATA # }, *% COMDATA # { *% COMDATA # 'proto' => 'EplDpi=%s,', *% COMDATA # 'style' => 'C', *% COMDATA # 'name' => 'Dpi', *% COMDATA # 'default' => '600x600dpi', *% COMDATA # 'vals' => [ *% COMDATA # { *% COMDATA # 'comment' => '300x300 dpi', *% COMDATA # 'value' => '300x300dpi', *% COMDATA # 'driverval' => '300', *% COMDATA # 'idx' => 'ev/1000' *% COMDATA # }, *% COMDATA # { *% COMDATA # 'comment' => '600x300 dpi (Class600)', *% COMDATA # 'value' => '600x300dpi', *% COMDATA # 'driverval' => 'Class600', *% COMDATA # 'idx' => 'ev/1001' *% COMDATA # }, *% COMDATA # { *% COMDATA # 'comment' => '600x600 dpi', *% COMDATA # 'value' => '600x600dpi', *% COMDATA # 'driverval' => '600', *% COMDATA # 'idx' => 'ev/1002' *% COMDATA # }, *% COMDATA # { *% COMDATA # 'comment' => '1200x600 dpi (Class1200)', *% COMDATA # 'value' => '1200x600dpi', *% COMDATA # 'driverval' => 'Class1200', *% COMDATA # 'idx' => 'ev/1003' *% COMDATA # } *% COMDATA # ], *% COMDATA # 'spot' => 'B', *% COMDATA # 'group' => 'General', *% COMDATA # 'comment' => 'Dpi', *% COMDATA # 'order' => '200', *% COMDATA # 'vals_byname' => { *% COMDATA # '1200x600dpi' => {}, *% COMDATA # '600x600dpi' => {}, *% COMDATA # '300x300dpi' => {}, |
i would try to find another PPD file...
http://www.linux-foundation.org/en/O...DDocumentation http://www.linuxprinting.org/download/PPD/Epson/ |
Quote:
Thanks Okie, but I have tried everything, every advice found on the web, without success. I was trying to repaire the PPd file but I cant. Do not know why!!! I am still a noob when speaking of Linux. |
repairing that file might be tough and/or tricky if you don't know what it was supposed to be like originally, maybe a text editor set to show line numbers and you can scroll to the line numbers with the errors on them...
|
Take the advice
copying to a text file and switching lines on gives this bit *OpenUI *FlowControl/Flow Control: PickOne *DefaultFlowControl: Off *FlowControl libieee1284/ParPort (libieee1284): "" *FlowControl libusb/USB (libusb): "" *FlowControl Off/Off: "" *****This is line 129******* *FlowControl ParPort (kernel _dev_lp0)/ParPort (kernel dev_lp0): "" *FlowControl ParPort (kernel dev_lp1)/ParPort (kernel dev_lp1): "" *FlowControl USB (kernel dev_usb_lp0)/USB (kernel dev_usb_lp0): "" *FlowControl USB (kernel dev_usb_lp1)/USB (kernel dev_usb_lp1): "" *CloseUI: *FlowControl So I can't see an illegal space in there but depending on how you pasted this to your post it could be another line thats the problem ie if you have a couple of empty lines at the top of the page which you didn't select to copy |
*Dpi 1200x600dpi/1200x600 dpi (Class1200): ""
*CloseUI: *Dpi *OpenUI *FlowControl/Flow Control: PickOne *DefaultFlowControl: Off *FlowControl libieee1284/ParPort (libieee1284): "" *FlowControl libusb/USB (libusb): "" *FlowControl Off/Off: "" *FlowControl ParPort (kernel _dev_lp0)/ParPort (kernel dev_lp0): ""--------This is the line 129---------- *FlowControl ParPort (kernel dev_lp1)/ParPort (kernel dev_lp1): "" *FlowControl USB (kernel dev_usb_lp0)/USB (kernel dev_usb_lp0): "" *FlowControl USB (kernel dev_usb_lp1)/USB (kernel dev_usb_lp1): "" *CloseUI: *FlowControl I copied the file withKate and pasted it correctly. Even when removing this line, I get then that next line in row has illegal white space character. |
Code:
*FlowControl ParPort (kernel _dev_lp0)/ParPort (kernel dev_lp0): "" |
big fat warning:
11.5 years necrobump! |
"Necrobump"
So what? However the question may come from the dark ages, the answer can still be relevant. PPD files are yet used nowadays.
|
Quote:
There are several lines where the left part contains spaces, so your explanation is not clear (at least for me). |
Quote:
|
All times are GMT -5. The time now is 08:24 PM. |