Kprinter Driver Settings
Helge Blischke
h.blischke at srz.de
Thu Feb 10 04:18:28 PST 2005
mathi at maas.de wrote:
>
> Hi
> I have the following in my PPD File.
>
> *****BEGIN PPD File*********
>
> *PPD-Adobe: "4.3"
> *%
> *FormatVersion: "4.3"
> *FileVersion: "1.0"
> *LanguageVersion: English
> *LanguageEncoding: ISOLatin1
> *PCFileName: "MPTM.PPD"
> *Manufacturer: "MHT"
> *Product: "MPTM"
> *cupsVersion: 1.0
> *cupsManualCopies: True
> *cupsModelNumber: 2
> *cupsFilter: "application/vnd.cups-postscript 0 pdf2afp_cups"
> *ModelName: "MPTM"
> *ShortNickName: "MPTM 1.5"
> *NickName: "MHT MPTM 1.5"
> *PSVersion: "(3010.000) 550"
> *PSVersion: "(3010.000) 651"
> *PSVersion: "(3010.000) 652"
> *PSVersion: "(3010.000) 653"
> *LanguageLevel: "3"
> *ColorDevice: True
> *DefaultColorSpace: CMYK
> *Throughput: "1"
> *LandscapeOrientation: Plus90
> *VariablePaperSize: False
> *TTRasterizer: None
>
> *OpenGroup: MHTINI
>
> *OpenUI *MHTAttribute/MHTAttribute: PickMany
> *MHTAttribute Licensee: ""
> *MHTAttribute SerialNr: ""
> *MHTAttribute JPEGQuality:50
> *MHTAttribute SFIWith5A:"on"
> *MHTAttribute GSFontPath:/usr/lib/cups/filter/gs/fonts/
> *MHTAttribute GSLibPath:/usr/lib/cups/filter/gs/8.00/lib/
> *MHTAttribute TempDir:/usr/tmp/
> *CloseUI: *MHTAttribute
>
> *CloseGroup: MHTINI
>
> *OpenGroup: General
>
> *OpenUI *Quality/Quality: PickOne
> *DefaultQuality: 300dpi
> *Quality 200dpi/200x200 DPI: "<</Quality(200dpi)>>setpagedevice"
> *Quality 240dpi/240x240 DPI: "<</Quality(240dpi)>>setpagedevice"
> *Quality 300dpi/300x300 DPI: "<</Quality(300dpi)>>setpagedevice"
> *CloseUI: *Quality
>
> *OpenUI *OutputType/Output Type: PickOne
> *DefaultOutputType: BlackAndWhite
> *OutputType BlackAndWhite/Black and White: "<</Color 2>>setpagedevice"
> *OutputType Color/Color: "<</Color 1>>setpagedevice"
> *CloseUI: *OutputType
>
> *OpenUI *PageSize/Media Size: PickOne
> *OrderDependency: 10 AnySetup *PageSize
> *DefaultPageSize: A4
> *PageSize Letter/Letter: "<</PageSize[612 792]/ImagingBBox null>>setpagedevice"
> *PageSize Legal/Legal: "<</PageSize[612 1008]/ImagingBBox null>>setpagedevice"
> *PageSize Executive/Executive: "<</PageSize[522 756]/ImagingBBox null>>setpagedevice"
> *PageSize A4/A4: "<</PageSize[595 842]/ImagingBBox null>>setpagedevice"
> *PageSize A5/A5: "<</PageSize[420 595]/ImagingBBox null>>setpagedevice"
> *PageSize A3/A3: "<</PageSize[1191 842]/ImagingBBox null>>setpagedevice"
> *CloseUI: *PageSize
>
> *OpenUI *PageRegion: PickOne
> *OrderDependency: 10 AnySetup *PageRegion
> *DefaultPageRegion: A4
> *PageRegion Letter/Letter: "<</PageSize[612 792]/ImagingBBox null>>setpagedevice"
> *PageRegion Legal/Legal: "<</PageSize[612 1008]/ImagingBBox null>>setpagedevice"
> *PageRegion Executive/Executive: "<</PageSize[522 756]/ImagingBBox null>>setpagedevice"
> *PageRegion A4/A4: "<</PageSize[595 842]/ImagingBBox null>>setpagedevice"
> *PageRegion A5/A5: "<</PageSize[421 595]/ImagingBBox null>>setpagedevice"
> *PageSize A3/A3: "<</PageSize[1191 842]/ImagingBBox null>>setpagedevice"
> *CloseUI: *PageRegion
>
> *CloseGroup: General
>
> *DefaultImageableArea: A4
> *ImageableArea Letter/Letter: "18 36 594 756"
> *ImageableArea Legal/Legal: "18 36 594 972"
> *ImageableArea Executive/Executive: "18 36 504 720"
> *ImageableArea A4/A4: "18 36 577 806"
> *ImageableArea A5/A5: "18 36 403 559"
> *ImageableArea A3/A3: "18 36 1173 806"
>
> *DefaultPaperDimension: A4
> *PaperDimension Letter/Letter: "612 792"
> *PaperDimension Legal/Legal: "612 1008"
> *PaperDimension Executive/Executive: "522 756"
> *PaperDimension A4/A4: "595 842"
> *PaperDimension A5/A5: "420 595"
> *PaperDimension A3/A3: "1191 842"
>
> *****BEGIN PPD File*********
>
> If I open Kprinter in linux SUSE 8.2, I am not getting the Driver settings tab page. I want to show this tabpage and allow the user to make some selection. Could you suggest why I am not getting Driver settings tab page. Is there anything wrong with PPD File ?
>
> Thank you very much
> Mathi
The cupstestppd (from CUPS 1.1.19) tells:
---snip---
cupstestppd grgr.ppd
grgr.ppd: FAIL
**FAIL** REQUIRED DefaultMHTAttribute
REF: Page 40, section 4.5.
**FAIL** BAD Product - not "(string)".
REF: Page 62, section 5.3.
---snip---
Thus, CUPS will treat it as unusable and ignore it.
Some hints:
(1) The following:
---snip---
*OpenUI *MHTAttribute/MHTAttribute: PickMany
*MHTAttribute Licensee: ""
*MHTAttribute SerialNr: ""
*MHTAttribute JPEGQuality:50
*MHTAttribute SFIWith5A:"on"
*MHTAttribute GSFontPath:/usr/lib/cups/filter/gs/fonts/
*MHTAttribute GSLibPath:/usr/lib/cups/filter/gs/8.00/lib/
*MHTAttribute TempDir:/usr/tmp/
*CloseUI: *MHTAttribute
---snip---
is nonsense with respect to the PPD spec. Look into the spec, the
explanation
would get too big to post it here.
(2) The *Product keyword requires a PostScript string
as a value; the repspective line should read
*Product: "(MPTM)"
instead.
Helge
--
Helge Blischke
Softwareentwicklung
SRZ Berlin | Firmengruppe besscom
http://www.srz.de
tel: +49 30 75301-360
More information about the cups
mailing list