Communication With Scheduler
Michael Sweet
msweet at apple.com
Wed Nov 11 08:23:40 PST 2009
CUPS 1.3 does not support the PPD: message. You need CUPS 1.4 or later
for that.
On Nov 10, 2009, at 11:04 PM, kavin wrote:
> Hi,
>
>
> I am using CUPS 1.3
>
> Thanking You
>
>
>
>
>
>
>> Are you using CUPS 1.4?
>>
>> On Nov 10, 2009, at 9:25 PM, kavin wrote:
>>
>>> Hi,
>>>
>>>
>>> Thanks to reply to me,
>>>
>>> I used the following code to update but it doesnt update
>>> anything pls point out the error
>>>
>>> This is my PPD file code
>>>
>>> *OpenUI *OptionDuplex/Duplexer Installed: Boolean
>>> *OrderDependency: 10 AnySetup *OptionDuplex
>>> *DefaultOptionDuplex: True
>>> *OptionDuplex False/Not Installed: ""
>>> *OptionDuplex True/Installed: ""
>>> *CloseUI: *OptionDuplex
>>>
>>> This Is my Filter code
>>>
>>> if (duplexer)
>>> fputs("PPD: OptionDuplex=True\n", stderr);
>>> else
>>> fputs("PPD: OptionDuplex=False\n", stderr);
>>>
>>> thanking You
>>>
>>> Kavin
>>>
>>>
>>>> On Nov 9, 2009, at 3:27 AM, kavin wrote:
>>>>> ...
>>>>> please Give the Example code to update the PPD
>>>>
>>>>
>>>> Say you have a PPD containing an installable option called
>>>> OptionDuplex:
>>>>
>>>> *OpenUI *OptionDuplex/Duplexer Installed: Boolean
>>>> *OrderDependency: 10 AnySetup *OptionDuplex
>>>> *DefaultOptionDuplex: True
>>>> *OptionDuplex False/Not Installed: ""
>>>> *OptionDuplex True/Installed: ""
>>>> *CloseUI: *OptionDuplex
>>>>
>>>> Your filter(s) can update the state of this installable option
>>>> using:
>>>>
>>>> if (duplexer is present)
>>>> fputs("PPD: OptionDuplex=True\n", stderr);
>>>> else
>>>> fputs("PPD: OptionDuplex=False\n", stderr);
>>>>
>>>> ___________________________________________________
>>>> Michael Sweet, Senior Printing System Engineer
>>>>
>>>>
>>>>
>>>
>>> _______________________________________________
>>> cups-ddk mailing list
>>> cups-ddk at easysw.com
>>> http://lists.easysw.com/mailman/listinfo/cups-ddk
>>
>> ___________________________________________________
>> Michael Sweet, Senior Printing System Engineer
>>
>>
>>
>
> _______________________________________________
> cups-ddk mailing list
> cups-ddk at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups-ddk
___________________________________________________
Michael Sweet, Senior Printing System Engineer
More information about the cups-devel
mailing list