If you have Solaris 8 or newer, and have access to the X11 graphical environment, consider using the printmgr utility to install your new printer - It will be much easier!
- Adding a local printer on the ECP printer port:
- Adding a network printer using port 9100:
# /usr/sbin/lpadmin -p MyPrinter -v /dev/ecpp0 -A write -n /usr/lib/lp/model/ppd/Epson/Epson-Stylus_Color_440-gimp-print.ppd.gz -i /usr/lib/lp/model/standard_foomatic -o nobanner -I postscript -u allow:all # /usr/sbin/lpadmin -p MyPrinter -D "My Local Printer" # /usr/bin/enable MyPrinter # /usr/sbin/accept MyPrinter
# /usr/sbin/lpadmin -p MyPrinter -v /dev/null -A write -n /usr/lib/lp/model/ppd/HP/HP-LaserJet_5P-ljet4.ppd.gz -i /usr/lib/lp/model/netstandard_foomatic -o dest=192.168.100.2 -o protocol=bsd -o nobanner -I postscript -u allow:all # /usr/sbin/lpadmin -p MyPrinter -D "My Network Printer" # /usr/bin/enable MyPrinter # /usr/sbin/accept MyPrinter # /usr/sbin/lpfilter -f a2ps -F /etc/lp/fd/a2ps.fd # /usr/sbin/lpfilter -f catv -F /etc/lp/fd/catv.fd # /usr/sbin/lpfilter -f download -F /etc/lp/fd/download.fd # /usr/sbin/lpfilter -f dpost -F /etc/lp/fd/dpost.fd # /usr/sbin/lpfilter -f foomatic -F /etc/lp/fd/foomatic.fd # /usr/sbin/lpfilter -f postdaisy -F /etc/lp/fd/postdaisy.fd # /usr/sbin/lpfilter -f postdmd -F /etc/lp/fd/postdmd.fd # /usr/sbin/lpfilter -f postio -F /etc/lp/fd/postio.fd # /usr/sbin/lpfilter -f postior -F /etc/lp/fd/postior.fd # /usr/sbin/lpfilter -f postmd -F /etc/lp/fd/postmd.fd # /usr/sbin/lpfilter -f postpages -F /etc/lp/fd/postpages.fd # /usr/sbin/lpfilter -f postplot -F /etc/lp/fd/postplot.fd # /usr/sbin/lpfilter -f postprint -F /etc/lp/fd/postprint.fd # /usr/sbin/lpfilter -f postreverse -F /etc/lp/fd/postreverse.fd # /usr/sbin/lpfilter -f posttek -F /etc/lp/fd/posttek.fd # /usr/sbin/lpfilter -f pr -F /etc/lp/fd/pr.fd