Setting up a new network printer in Solaris

7.1 Create a new network printer

# lpadmin \ > -p networkprinter \
> -v /dev/null \
> -T PS \
> -A write \
> -i /usr/lib/lp/model/netstandard \
> -o dest=10.0.0.10 \
> -o protocol=bsd \
> -o nobanner \
> -o banner=never \
> -I postscript \
> -u allow:all

7.2 Give the new networkprinter a description

# lpadmin -p networkprinter -D "This is my network printer"

7.3 Enable the printer

# enable networkprinter
# accept networkprinter

7.4 Define filters

# lpfilter -f catv -F /etc/lp/fd/catv.fd
# lpfilter -f download -F /etc/lp/fd/download.fd
# lpfilter -f dpost -F /etc/lp/fd/dpost.fd
# lpfilter -f postdaisy -F /etc/lp/fd/postdaisy.fd
# lpfilter -f postdmd -F /etc/lp/fd/postdmd.fd
# lpfilter -f postmd -F /etc/lp/fd/postmd.fd
# lpfilter -f postpages -F /etc/lp/fd/postpages.fd
# lpfilter -f postplot -F /etc/lp/fd/postplot.fd
# lpfilter -f postprint -F /etc/lp/fd/postprint.fd
# lpfilter -f postreverse -F /etc/lp/fd/postreverse.fd
# lpfilter -f posttek -F /etc/lp/fd/posttek.fd
# lpfilter -f pr -F /etc/lp/fd/pr.fd

7.5 Make the new printer the default printer

# lpadmin -d networkprinter

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s