Custom Option in PPD file (CUPS 1.2)

Michael Sweet mike at easysw.com
Thu Apr 13 05:32:27 PDT 2006


Anonymous wrote:
>> Anonymous wrote:
>>> I found the new feature Custom Option in CUPS 1.2rc1, but don't know how to work with it.
>>>
>>> If anyone knows how to use it?
>> If you are developing a driver, start by reading the CUPS PPD
>> Extensions help file, available on your system at:
>>
>>      http://localhost:631/help/spec-ppd.html
>>
>> That said, there is 0 support for setting custom options from a GUI
>> on current MacOS X releases.  You can set them from the command-line,
>> but that is all...
> 
> Thanks for your information
> But how to set the custom option from the command-line?
> Can you give me some suggestions, or give me an example?

For single parameter options, use:

     -o optionname=Custom.optionvalue

For multi-parameter options, use:

     -o "optionname={param1=value param2=value ... paramN=value}"

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Publishing Software        http://www.easysw.com




More information about the cups mailing list