Alters the ppd that is placed in /etc/cups/ppd/ when the printer is installed.When specified as a "-o" option it would be "HPOption_Duplexer=True"
Example: The duplex option for HP printers will output like this "HPOption_Duplexer/Duplex Unit: *True False".The option name stops at the first slash.It uses a colon when reporting key value pairs replace that with an equals sign when specifying an option.Prints PPD options, "Default" is filtered from option name (similar to looking at the raw PPD).More helpful hints about lpadmin and lpoptions: However, if you setup the printer using lpadmin without any options, and later use lptoptions to set the options, they are not written to the PPD and the GUI is unaware of the printer's options.If you use lpadmin and specify options with "-o", the PPD is altered and OS X will recognize the options for the printer.After doing some testing, here are the two main points to note: However, there is still confusion surrounding the setting of printer options from the command line, as a poster to Debian bugs pointed out back in 2006: lpoptions documentation doesn't.
There are some good hints for adding printers via the command line with lpadmin: Managing multiple printers via the command line. Here are some helpful notes and a script. Lpadmin and lpoptions don't interact with OS X as you might think, or at least as they are documented.