This describes how to set up a Solaris 2.7 machine to print to a Hewlett Packard LaserJet 4ML connected to a NetGear PS105 Print Server.
The LaserJet 4ML is a postscript printer, so I didn't need to do anything fancy with ghostscript to be able to print postscript output.
I set up the IP address of the print server using the supplied software, plugging an NT laptop into my network temporarily to do this. It is possible to set up the server using TFTP, but I went for the easy option.
You need to be root
to perform this task.
# lpadmin -p laser -v
/dev/null
laser
and associate it with the device
/dev/null
.
# lpadmin -p laser -D
"LaserJet 4ML"
# lpadmin -p laser -i
/usr/lib/lp/model/netstandard
# lpadmin -p laser -o
dest=ps313620:l1 -o protocol=bsd
-o timeout=5 -o nobanner
ps313620:l1
is made
up of two parts:
ps313620
is the host
name of the print server on my network (in this case it is
the factory default name for the print server), and
l1
refers to the
parallel port on the server. The PS105 only has one port,
but other models have more.nobanner
option gives the user the chance
to leave off the banner page, but the default is still to
print them!
# lpadmin -p laser -I
postscript -T PS
postscript
, and the printer type to
PS
.
# cd /etc/lp/fd
# for filter in *.fd
> do
> name=`basename $filter
.fd`
> lpfilter -f $name -F
$filter
> done
# vi
/etc/lp/interfaces/laser
Change the line that reads
nobanner=no
to
nobanner=yes
# accept laser
# /usr/bin/enable
laser