How to read the values from UI control

keens312 keens312 at hotmail.com
Wed Jul 16 02:14:18 PDT 2008


Hi Michael,

In my Drv, wrote like this:

// Setup tab
Group InstallableOptions
    Option "DuplexMode/Duplex Mode" PickOne AnySetup 10
    *Choice "AutoDuplex/Auto Duplex" ""
    Choise "ManualDuplex/Manual Duplex" ""

The code above can add a combobox control to select duplex mode.

The question is in filter, how can i read the value of DuplexMode?

I have tried cupsGetOption("DuplexMode", _numOptions, _options), but does not work.

Thanks
Keene




More information about the cups-devel mailing list