[cups.general] Modify ppd and validate it?
Daniel Spannbauer
ds at marco.de
Tue Nov 18 22:39:11 PST 2008
Michael R Sweet schrieb:
> Daniel Spannbauer wrote:
>> Hello,
>>
>> I want to slightly modify a ppd-file to put another Option in it. This
>> Option should aktivate a code enabled in our postscript we are printing.
>>
>> So, I put the following Code into the ppd-file:
>>
>> *% === aktivate included marco-logocode =======
>> *OpenUI *marcologo/marcologo: Boolean
>> *DefaultOption1: False
>> *Option1 True/logo drucken: "/logoenable 1 store"
>> *Option1 False/kein logo: "logoenable 0 store"
>> *CloseUI: *marcologo
>
> You need to replace "Option1" with marcologo. Also, I think you
> are missing a slash in the code for the False choice...
That was the problem. Thank you.
Regards
Daniel
>
>> The Option is now shon in the Web-Interface of Cups, but I can't change
>> this setting, there are no Options shown for this.
>>
>> Can anybody help me to fix this? Or is there a validator vor ppd-files?
>> Or basicly: How do I write a ppd-file?
>>
>> Regards
>>
>> Daniel
>>
>>
>>
>>
>>
>
>
--
Daniel Spannbauer Systembetreuung
marco Systemanalyse und Entwicklung GmbH Tel +49 8333 9233-27 Fax -11
Rechbergstr. 4 - 6, D 87727 Babenhausen Mobil +49 171 4033220
http://www.marco.de/ Email ds at marco.de
Geschäftsführer Martin Reuter HRB 171775 Amtsgericht München
More information about the cups
mailing list