Communication With Scheduler

kavin kavinsiva at yahoo.co.in
Tue Nov 10 23:04:20 PST 2009


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
>
>
>





More information about the cups mailing list