The lpadmin man page has the following information
PREDEFINED OPTIONS USED WITH THE -o
A number of options, described below, are predefined for use
with -o. These options are used for adjusting printer capa-
bilities, adjusting printer port characteristics, configur-
ing network printers, and controlling the use of banner. The
SunOS 5.11 Last change: 24 May 2006 20
System Administration Commands lpadmin(1M)
-o also supports an arbitrary keyword=value format, which is
referred to below as an undefined option.
...
key=value
Each key=value is passed directly to the interface pro-
gram. Any checking for allowed values is done in the
interface program.
Any default values for a given key=value option are
defined in the interface program. If a default is pro-
vided, it can be reset by typing the key without any
value:
lpadmin -p printername -o key=
lpadmin -p printer -o foo | nofoo
Sets boolean values foo=true | foo=false.
Unfortunately, the set of key/value pairs that can be used for a
particular printer depends on the content of the PPD file associated
with the printer.
FWIW, this is mentioned in the OpenSolaris Printing Community FAQ
http://www.opensolaris.org/os/community/printing/faq/default.html
-Norm
James McPherson wrote:
> On 11/29/06, Norm Jacobs <Norm.Jacobs at sun.com> wrote:
>> You don't have to edit the PPD file to change default selection on
>> Solaris. You can do the following:
>>
>> # lpadmin -p queue -o InputSlot=Tray2
>
>
> That's a really neat thing to know. I hadn't seen it before now
> so I wonder - where is it documented that you can do this, and
> what the acceptable options are? I don't see an expanded list
> of options in the manpage for lpadmin(1M) on snv_51.
>
>
> thanks,
> James C. McPherson
> --
> Solaris kernel software engineer, system admin and troubleshooter
> http://www.jmcp.homeunix.com/blog
> Find me on LinkedIn @ http://www.linkedin.com/in/jamescmcpherson