kprinter support of CUPS 1.2

George Liu george.liu at ussj.ricoh.com
Tue Jul 19 18:57:45 CEST 2005


Michael,

 

Can you elaborate how kprinter support foomatic options (integer, float
and string)? 

 

I have Mandriva LE 2005 with KDE 3.3.2, Ot 3,3.4 and kprinter 0.0.1
(kprinter -v). 

 

I customized a PPD file that uses foomatic string option, and only from
XPP 1.5, I can specify arbitrary string input. Kprinter only shows a
list options. 

 

Thanks

George

 

 

-----Original Message-----
From: Goffioul Michael [mailto:goffioul at imec.be] 
Sent: Monday, July 18, 2005 2:05 AM
To: For users and developers of KDEPrint, the KDE printing architecture
Subject: RE: kprinter support of CUPS 1.2

 

These kind of options were already supported by KDEPrint with Foomatic
drivers (integer,

float and string option types). So basically, KDEPrint already contains
the code to support

it, it just has to be adapted to the CUPS syntax (the needed changes are
mainly located

in the PPD parser).

 

Michael.

 

	-----Original Message-----
	From: George Liu [mailto:george.liu at ussj.ricoh.com]
	Sent: Friday, July 01, 2005 19:18
	To: kde-print at kde.org
	Subject: kprinter support of CUPS 1.2

	There're still printer features only available for Windows, like
ProofJob, UserCode, LockedPrint. The main reason is CUPS PPD doesn't
provide a mechanism to allow arbitrary user input. (Kprinter did provide
a mechanism to write a printer UI plugin, but has many limitations)

	 

	CUPS will have extended PPD support from 1.2. I copied some part
of cups/cups/sample.ppd from cups weekly build r4547.

	 

	Is it possible for kprinter to support those CUPS PPD
extentions? We do have a lot of Linux users craving to have all features
that are supported by Windows. 

	 

	Thanks

	George

	 

	 

	*OpenUI IntOption/Integer: PickOne
	*OrderDependency: 10 AnySetup *IntOption
	*DefaultIntOption: None
	*IntOption None: ""
	*IntOption 1: "<</cupsInteger0 1>>setpagedevice"
	*IntOption 2: "<</cupsInteger0 2>>setpagedevice"
	*IntOption 3: "<</cupsInteger0 3>>setpagedevice"
	*IntOption 4: "<</cupsInteger0 4>>setpagedevice"
	*IntOption 5: "<</cupsInteger0 5>>setpagedevice"
	*cupsUIType IntOption: Integer
	*cupsUIMinimum IntOption: "1"
	*cupsUIMaximum IntOption: "5"
	*cupsUICommand IntOption: "<</cupsInteger0 3 1
roll>>setpagedevice>>"
	*CloseUI: *IntOption
	
	*OpenUI RealOption/Real Number: PickOne
	*OrderDependency: 10 AnySetup *RealOption
	*DefaultRealOption: None
	*RealOption None: ""
	*RealOption 1: "<</cupsReal0 1>>setpagedevice"
	*RealOption 2: "<</cupsReal0 2>>setpagedevice"
	*RealOption 3: "<</cupsReal0 3>>setpagedevice"
	*RealOption 4: "<</cupsReal0 4>>setpagedevice"
	*RealOption 5: "<</cupsReal0 5>>setpagedevice"
	*cupsUIType RealOption: Real
	*cupsUIMinimum RealOption: "1"
	*cupsUIMaximum RealOption: "5"
	*cupsUICommand RealOption: "<</cupsReal0 3 1
roll>>setpagedevice>>"
	*CloseUI: *RealOption
	
	*OpenUI TextOption/Text: PickOne
	*OrderDependency: 10 AnySetup *TextOption
	*DefaultTextOption: None
	*TextOption None: ""
	*TextOption NOFORN: "<</cupsString0 (NOFORN)>>setpagedevice"
	*TextOption FOIA: "<</cupsString0 (FOIA)>>setpagedevice"
	*TextOption FOUO: "<</cupsString0 (FOUO)>>setpagedevice"
	*cupsUIType TextOption: Text
	*cupsUICommand TextOption: "<</cupsString0 3 1
roll>>setpagedevice>>"
	*CloseUI: *TextOption
	
	 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-print/attachments/20050719/f95be18a/attachment.html


More information about the kde-print mailing list