Globalized PPD

Anonymous anonymous at easysw.com
Thu Apr 27 18:24:04 PDT 2006


> Anonymous wrote:
> > I have changed PPD to globalized PPD according to 'Globalized PPD Support' in 'CUPS PPD Extensions',then I run Terminal to use 'cupstestppd' to test the modified PPD, but there is an error, that is 'Segmental fault'.
> >
> > Why does this error appear?
>
> If you can supply a sample PPD file that has this problem, we might
> be able to track the problem down.
>
> --
> ______________________________________________________________________
> Michael Sweet, Easy Software Products           mike at easysw dot com
> Internet Printing and Publishing Software        http://www.easysw.com
The sample PPD(zebra.ppd):

*PPD-Adobe: "4.3"
*FormatVersion:	"4.3"
*FileVersion:	"1.2"
*LanguageVersion: English
*LanguageEncoding: ISOLatin1
*cupsLanguages: "da de es fi fr it nl no pt sv"
*PCFileName:	"ZEBRA.PPD"
*Manufacturer:	"Zebra"
*Product:	"(GNU Ghostscript)"
*Product:	"(ESP Ghostscript)"
*cupsVersion:	1.2
*cupsManualCopies: False
*cupsFilter:	"application/vnd.cups-raster 0 rastertolabel"
*cupsModelNumber: 18
*ModelName:     "Zebra ZPL Label Printer"
*ShortNickName: "Zebra ZPL Label Printer"
*NickName:      "Zebra ZPL Label Printer CUPS v1.2"
*PSVersion:	"(3010.000) 81501"
*LanguageLevel:	"3"
*ColorDevice:	False
*DefaultColorSpace: Gray
*FileSystem:	False
*Throughput:	"8"
*LandscapeOrientation: Plus90
*TTRasterizer:	Type42

*OpenUI *PageSize/Media Size: PickOne
*OrderDependency: 10 AnySetup *PageSize
*DefaultPageSize: w90h18
*da.Translation PageSize/Media Size:	""
*de.Translation PageSize/Media Size:	""
*es.Translation PageSize/Media Size:	""
*fi.Translation PageSize/Media Size:	""
*fr.Translation PageSize/Media Size:	""
*it.Translation PageSize/Media Size:	""
*nl.Translation PageSize/Media Size:	""
*no.Translation PageSize/Media Size:	""
*pt.Translation PageSize/Media Size:	""
*sv.Translation PageSize/Media Size:	""
*PageSize w90h18/Label - 1.25x0.25": "<</PageSize[90 18]/ImagingBBox null>>setpagedevice"
*da.PageSize w90h18/Label - 1.25x0.25:	""
*de.PageSize w90h18/Label - 1.25x0.25:	""
*es.PageSize w90h18/Label - 1.25x0.25:	""
*fi.PageSize w90h18/Label - 1.25x0.25:	""
*fr.PageSize w90h18/Label - 1.25x0.25:	""
*it.PageSize w90h18/Label - 1.25x0.25:	""
*nl.PageSize w90h18/Label - 1.25x0.25:	""
*no.PageSize w90h18/Label - 1.25x0.25:	""
*pt.PageSize w90h18/Label - 1.25x0.25:	""
*sv.PageSize w90h18/Label - 1.25x0.25:	""
*PageSize w90h162/Label - 1.25x2.25": "<</PageSize[90 162]/ImagingBBox null>>setpagedevice"
*da.PageSize w90h162/Label - 1.25x2.25:	""
*de.PageSize w90h162/Label - 1.25x2.25:	""
*es.PageSize w90h162/Label - 1.25x2.25:	""
*fi.PageSize w90h162/Label - 1.25x2.25:	""
*fr.PageSize w90h162/Label - 1.25x2.25:	""
*it.PageSize w90h162/Label - 1.25x2.25:	""
*nl.PageSize w90h162/Label - 1.25x2.25:	""
*no.PageSize w90h162/Label - 1.25x2.25:	""
*pt.PageSize w90h162/Label - 1.25x2.25:	""
*sv.PageSize w90h162/Label - 1.25x2.25:	""
*PageSize w108h18/Label - 1.50x0.25": "<</PageSize[108 18]/ImagingBBox null>>setpagedevice"
*da.PageSize w108h18/Label - 1.50x0.25:	""
*de.PageSize w108h18/Label - 1.50x0.25:	""
*es.PageSize w108h18/Label - 1.50x0.25:	""
*fi.PageSize w108h18/Label - 1.50x0.25:	""
*fr.PageSize w108h18/Label - 1.50x0.25:	""
*it.PageSize w108h18/Label - 1.50x0.25:	""
*nl.PageSize w108h18/Label - 1.50x0.25:	""
*no.PageSize w108h18/Label - 1.50x0.25:	""
*pt.PageSize w108h18/Label - 1.50x0.25:	""
*sv.PageSize w108h18/Label - 1.50x0.25:	""
*CloseUI: *PageSize

*OpenUI *PageRegion: PickOne
*OrderDependency: 10 AnySetup *PageRegion
*DefaultPageRegion: w90h18
*da.Translation PageRegion:	""
*de.Translation PageRegion:	""
*es.Translation PageRegion:	""
*fi.Translation PageRegion:	""
*fr.Translation PageRegion:	""
*it.Translation PageRegion:	""
*nl.Translation PageRegion:	""
*no.Translation PageRegion:	""
*pt.Translation PageRegion:	""
*sv.Translation PageRegion:	""
*PageRegion w90h18/Label - 1.25x0.25": "<</PageSize[90 18]/ImagingBBox null>>setpagedevice"
*da.PageRegion w90h18/Label - 1.25x0.25:	""
*de.PageRegion w90h18/Label - 1.25x0.25:	""
*es.PageRegion w90h18/Label - 1.25x0.25:	""
*fi.PageRegion w90h18/Label - 1.25x0.25:	""
*fr.PageRegion w90h18/Label - 1.25x0.25:	""
*it.PageRegion w90h18/Label - 1.25x0.25:	""
*nl.PageRegion w90h18/Label - 1.25x0.25:	""
*no.PageRegion w90h18/Label - 1.25x0.25:	""
*pt.PageRegion w90h18/Label - 1.25x0.25:	""
*sv.PageRegion w90h18/Label - 1.25x0.25:	""
*PageRegion w90h162/Label - 1.25x2.25": "<</PageSize[90 162]/ImagingBBox null>>setpagedevice"
*da.PageRegion w90h162/Label - 1.25x2.25:	""
*de.PageRegion w90h162/Label - 1.25x2.25:	""
*es.PageRegion w90h162/Label - 1.25x2.25:	""
*fi.PageRegion w90h162/Label - 1.25x2.25:	""
*fr.PageRegion w90h162/Label - 1.25x2.25:	""
*it.PageRegion w90h162/Label - 1.25x2.25:	""
*nl.PageRegion w90h162/Label - 1.25x2.25:	""
*no.PageRegion w90h162/Label - 1.25x2.25:	""
*pt.PageRegion w90h162/Label - 1.25x2.25:	""
*sv.PageRegion w90h162/Label - 1.25x2.25:	""
*PageRegion w108h18/Label - 1.50x0.25": "<</PageSize[108 18]/ImagingBBox null>>setpagedevice"
*da.PageRegion w108h18/Label - 1.50x0.25:	""
*de.PageRegion w108h18/Label - 1.50x0.25:	""
*es.PageRegion w108h18/Label - 1.50x0.25:	""
*fi.PageRegion w108h18/Label - 1.50x0.25:	""
*fr.PageRegion w108h18/Label - 1.50x0.25:	""
*it.PageRegion w108h18/Label - 1.50x0.25:	""
*nl.PageRegion w108h18/Label - 1.50x0.25:	""
*no.PageRegion w108h18/Label - 1.50x0.25:	""
*pt.PageRegion w108h18/Label - 1.50x0.25:	""
*sv.PageRegion w108h18/Label - 1.50x0.25:	""
*CloseUI: *PageRegion

*DefaultImageableArea: w90h18
*ImageableArea w90h18/Label - 1.25x0.25": "0 0 90 18"
*ImageableArea w90h162/Label - 1.25x2.25": "0 0 90 162"
*ImageableArea w108h18/Label - 1.50x0.25": "0 0 108 18"
*ImageableArea w108h36/Label - 1.50x0.50": "0 0 108 36"
*ImageableArea w108h72/Label - 1.50x1.00": "0 0 108 72"
*ImageableArea w108h144/Label - 1.50x2.00": "0 0 108 144"
*ImageableArea w144h26/Label - 2.00x0.37": "0 0 144 26"
*ImageableArea w144h36/Label - 2.00x0.50": "0 0 144 36"
*ImageableArea w144h72/Label - 2.00x1.00": "0 0 144 72"
*ImageableArea w144h90/Label - 2.00x1.25": "0 0 144 90"
*ImageableArea w144h288/Label - 2.00x4.00": "0 0 144 288"
*ImageableArea w144h396/Label - 2.00x5.50": "0 0 144 396"
*ImageableArea w162h36/Label - 2.25x0.50": "0 0 162 36"
*ImageableArea w162h90/Label - 2.25x1.25": "0 0 162 90"

*DefaultPaperDimension: w90h18
*PaperDimension w90h18/Label - 1.25x0.25": "90 18"
*PaperDimension w90h162/Label - 1.25x2.25": "90 162"
*PaperDimension w108h18/Label - 1.50x0.25": "108 18"
*PaperDimension w108h36/Label - 1.50x0.50": "108 36"
*PaperDimension w108h72/Label - 1.50x1.00": "108 72"
*PaperDimension w108h144/Label - 1.50x2.00": "108 144"
*PaperDimension w144h26/Label - 2.00x0.37": "144 26"
*PaperDimension w144h36/Label - 2.00x0.50": "144 36"
*PaperDimension w144h72/Label - 2.00x1.00": "144 72"
*PaperDimension w144h90/Label - 2.00x1.25": "144 90"
*PaperDimension w144h288/Label - 2.00x4.00": "144 288"
*PaperDimension w144h396/Label - 2.00x5.50": "144 396"
*PaperDimension w162h36/Label - 2.25x0.50": "162 36"
*PaperDimension w162h90/Label - 2.25x1.25": "162 90"

*MaxMediaWidth: "288"
*MaxMediaHeight: "3600"
*HWMargins: 0 0 0 0
*CustomPageSize True: "pop pop pop <</PageSize[5 -2 roll]/ImagingBBox null>>setpagedevice"
*ParamCustomPageSize Width: 1 points 36 288
*ParamCustomPageSize Height: 2 points 36 3600
*ParamCustomPageSize WidthOffset: 3 points 0 0
*ParamCustomPageSize HeightOffset: 4 points 0 0
*ParamCustomPageSize Orientation: 5 int 0 0
*da.PageSize Custom:	""
*de.PageSize Custom:	""
*es.PageSize Custom:	""
*fi.PageSize Custom:	""
*fr.PageSize Custom:	""
*it.PageSize Custom:	""
*nl.PageSize Custom:	""
*no.PageSize Custom:	""
*pt.PageSize Custom:	""
*sv.PageSize Custom:	""

*OpenUI *Resolution/Output Resolution: PickOne
*OrderDependency: 20 AnySetup *Resolution
*DefaultResolution: 203dpi
*da.Translation Resolution/123:	""
*de.Translation Resolution/123:	""
*es.Translation Resolution/123:	""
*fi.Translation Resolution/123:	""
*fr.Translation Resolution/123:	""
*it.Translation Resolution/123:	""
*nl.Translation Resolution/123:	""
*no.Translation Resolution/123:	""
*pt.Translation Resolution/123:	""
*sv.Translation Resolution/123:	""
*Resolution 203dpi/203 DPI: "<</HWResolution[203 203]>>setpagedevice"
*da.Resolution 203dpi/123:	""
*de.Resolution 203dpi/123:	""
*es.Resolution 203dpi/123:	""
*fi.Resolution 203dpi/123:	""
*fr.Resolution 203dpi/123:	""
*it.Resolution 203dpi/123:	""
*nl.Resolution 203dpi/123:	""
*no.Resolution 203dpi/123:	""
*pt.Resolution 203dpi/123:	""
*sv.Resolution 203dpi/123:	""
*Resolution 300dpi/300 DPI: "<</HWResolution[300 300]>>setpagedevice"
*da.Resolution 300dpi/123:	""
*de.Resolution 300dpi/123:	""
*es.Resolution 300dpi/123:	""
*fi.Resolution 300dpi/123:	""
*fr.Resolution 300dpi/123:	""
*it.Resolution 300dpi/123:	""
*nl.Resolution 300dpi/123:	""
*no.Resolution 300dpi/123:	""
*pt.Resolution 300dpi/123:	""
*sv.Resolution 300dpi/123:	""
*Resolution 600dpi/600 DPI: "<</HWResolution[600 600]>>setpagedevice"
*da.Resolution 600dpi/123:	""
*de.Resolution 600dpi/123:	""
*es.Resolution 600dpi/123:	""
*fi.Resolution 600dpi/123:	""
*fr.Resolution 600dpi/123:	""
*it.Resolution 600dpi/123:	""
*nl.Resolution 600dpi/123:	""
*no.Resolution 600dpi/123:	""
*pt.Resolution 600dpi/123:	""
*sv.Resolution 600dpi/123:	""
*CloseUI: *Resolution

*OpenUI *MediaType/Media Type: PickOne
*OrderDependency: 20 AnySetup *MediaType
*DefaultMediaType: Saved
*da.Translation MediaType/123:	""
*de.Translation MediaType/123:	""
*es.Translation MediaType/123:	""
*fi.Translation MediaType/123:	""
*fr.Translation MediaType/123:	""
*it.Translation MediaType/123:	""
*nl.Translation MediaType/123:	""
*no.Translation MediaType/123:	""
*pt.Translation MediaType/123:	""
*sv.Translation MediaType/123:	""
*MediaType Saved/PrinterDefault: ""
*da.MediaType Saved/ASdl:	""
*de.MediaType Saved/ASdl:	""
*es.MediaType Saved/ASdl:	""
*fi.MediaType Saved/ASdl:	""
*fr.MediaType Saved/ASdl:	""
*it.MediaType Saved/ASdl:	""
*nl.MediaType Saved/ASdl:	""
*no.MediaType Saved/ASdl:	""
*pt.MediaType Saved/ASdl:	""
*sv.MediaType Saved/ASdl:	""
*MediaType Thermal/Thermal Transfer Media: "<</MediaType(Thermal)>>setpagedevice"
*da.MediaType Thermal/ASdl:	""
*de.MediaType Thermal/ASdl:	""
*es.MediaType Thermal/ASdl:	""
*fi.MediaType Thermal/ASdl:	""
*fr.MediaType Thermal/ASdl:	""
*it.MediaType Thermal/ASdl:	""
*nl.MediaType Thermal/ASdl:	""
*no.MediaType Thermal/ASdl:	""
*pt.MediaType Thermal/ASdl:	""
*sv.MediaType Thermal/ASdl:	""
*MediaType Direct/Direct Thermal Media: "<</MediaType(Direct)>>setpagedevice"
*da.MediaType Direct/ASdl:	""
*de.MediaType Direct/ASdl:	""
*es.MediaType Direct/ASdl:	""
*fi.MediaType Direct/ASdl:	""
*fr.MediaType Direct/ASdl:	""
*it.MediaType Direct/ASdl:	""
*nl.MediaType Direct/ASdl:	""
*no.MediaType Direct/ASdl:	""
*pt.MediaType Direct/ASdl:	""
*sv.MediaType Direct/ASdl:	""
*CloseUI: *zeMediaType

*OpenUI *zeErrorReprint/Reprint After Error: PickOne
*OrderDependency: 20 AnySetup *zeErrorReprint
*DefaultzeErrorReprint: Saved
*da.Translation zeErrorReprint/123:	""
*de.Translation zeErrorReprint/123:	""
*es.Translation zeErrorReprint/123:	""
*fi.Translation zeErrorReprint/123:	""
*fr.Translation zeErrorReprint/123:	""
*it.Translation zeErrorReprint/123:	""
*nl.Translation zeErrorReprint/123:	""
*no.Translation zeErrorReprint/123:	""
*pt.Translation zeErrorReprint/123:	""
*sv.Translation zeErrorReprint/123:	""
*zeErrorReprint Saved/PrinterDefault: ""
*da.zeErrorReprint Saved/123:	""
*de.zeErrorReprint Saved/123:	""
*es.zeErrorReprint Saved/123:	""
*fi.zeErrorReprint Saved/123:	""
*fr.zeErrorReprint Saved/123:	""
*it.zeErrorReprint Saved/123:	""
*nl.zeErrorReprint Saved/123:	""
*no.zeErrorReprint Saved/123:	""
*pt.zeErrorReprint Saved/123:	""
*sv.zeErrorReprint Saved/123:	""
*zeErrorReprint Always: ""
*da.zeErrorReprint Always:	""
*de.zeErrorReprint Always:	""
*es.zeErrorReprint Always:	""
*fi.zeErrorReprint Always:	""
*fr.zeErrorReprint Always:	""
*it.zeErrorReprint Always:	""
*nl.zeErrorReprint Always:	""
*no.zeErrorReprint Always:	""
*pt.zeErrorReprint Always:	""
*sv.zeErrorReprint Always:	""
*zeErrorReprint Never: ""
*da.zeErrorReprint Never:	""
*de.zeErrorReprint Never:	""
*es.zeErrorReprint Never:	""
*fi.zeErrorReprint Never:	""
*fr.zeErrorReprint Never:	""
*it.zeErrorReprint Never:	""
*nl.zeErrorReprint Never:	""
*no.zeErrorReprint Never:	""
*pt.zeErrorReprint Never:	""
*sv.zeErrorReprint Never:	""
*CloseUI: *zeErrorReprint
*CloseGroup: PrinterSettings

*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





When type 'cupstestppd zebra' on Terminal, there is an error that is 'PASS
Segmentation fault
'

There is another problem, when I change the language preference as French, the printing user interface doesn't change to options as above at all. it is also English.

Why doesn't it change?






More information about the cups-devel mailing list