configuring printer using lpadmin

Can some one tell me how to configure the printer on solaris

printer name = A

printer server address : 172.21.19.6

take a look on this:

gP

Maybe you should use HP Jetadmin tool. Its free and uses unixs bin's printer configuration. Easy to use and manage.

i've done did the lazy way ... dunno if it'll work for you ...

edit /etc/printers.conf and just put in your info ... restart lpd ... see "man printers.conf" for entry specifics ... /etc/printers.conf entries below assumes that A, B & C are printers and are listed in DNS ... also assumes that default printer is A ...

#
#       If you hand edit this file, comments and structure may change.
#       The preferred method of modifying this file is through the use of
#       lpset(1M) or fncreate_printer(1M)
#
A:\
        :bsdaddr=A,A:
B:\
        :bsdaddr=B,B:
C:\
        :bsdaddr=C,C:
_default:\
        :use=A: