<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">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...<div><br><div><div>On Mar 25, 2009, at 6:31 AM, shermin wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi,<br><br>I added an option "PrintOnBothSides" in PPD for my printer.But that option is not coming in argv[5] of backend.<br><br>*OpenUI *PrintOnBothSides/PrintOnBothSides: Boolean<br>*OrderDependency: 10.0 AnySetup *PrintOnBothSides<br>*DefaultPrintOnBothSides: 0True<br>*PrintOnBothSides 0True/Yes: ""<br>*PrintOnBothSides 1False/No: ""<br>*CloseUI: *PrintOnBothSides<br><br><br>I did like this.but argv[5] is coming only "PrintOnBothSides".<br>Why so?<br><br>Shermin<br>_______________________________________________<br>cups mailing list<br><a href="mailto:cups@easysw.com">cups@easysw.com</a><br>http://lists.easysw..com/mailman/listinfo/cups<br></div></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Monaco; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>________________________________________</div><div>Michael R Sweet, Senior Printing System Engineer</div></div></div></span></span>
</div>
<br></div></body></html>