Create Unix printer in sun Solaris

Guy's

Can anyone explain how to Create Unix printer in Solaris what's the exact steps to create Unix direct printer ?

if you mean how to add a network printer to solaris use the lpadmin command

There is also a GUI depending on the Solaris release:

/usr/sadm/admin/bin/printmgr

or

/usr/sbin/printmgr

I use the following script to add printer: (add_printer)
script name: add_printer
usage: add_printer <printername> <printerIP or DNS name>

/usr/sbin/lpadmin -p $1 -o protocol=tcp,dest=$2:9100 -v /dev/null -m netstandard -T PS -I simple,postscript
/usr/sbin/lpadmin -p $1 -o banner=never

/usr/bin/lpc enable $1
/usr/bin/lpc start $1
/usr/bin/lpc status $1
# End of script