[cups.general] PrintOnBothSides in ppd
Michael Sweet
msweet at apple.com
Wed Mar 25 08:25:30 PDT 2009
Per the System V printing interface that CUPS uses, boolean options
are passed as "name" for true and "noname" for false.
cupsParseOptions handles decoding this for you...
On Mar 25, 2009, at 6:31 AM, shermin wrote:
> Hi,
>
> I added an option "PrintOnBothSides" in PPD for my printer.But that
> option is not coming in argv[5] of backend.
>
> *OpenUI *PrintOnBothSides/PrintOnBothSides: Boolean
> *OrderDependency: 10.0 AnySetup *PrintOnBothSides
> *DefaultPrintOnBothSides: 0True
> *PrintOnBothSides 0True/Yes: ""
> *PrintOnBothSides 1False/No: ""
> *CloseUI: *PrintOnBothSides
>
>
> I did like this.but argv[5] is coming only "PrintOnBothSides".
> Why so?
>
> Shermin
> _______________________________________________
> cups mailing list
> cups at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups
________________________________________
Michael R Sweet, Senior Printing System Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cups.org/pipermail/cups/attachments/20090325/913a372b/attachment-0001.html>
More information about the cups
mailing list