![[Intel Navigation Header]](/CONTENT/PIX/HEADER.GIF)
NetportExpress(TM) XL Print Server: Solaris 2.x LPD/LPR installation
NETPORT EXPRESS(TM) XL: SOLARIS 2.X (UNIX)* LPD/LPR INSTALLATION
Berkeley remote LPR/LPD printing on Solaris 2.x and NetportExpress(TM)
XL
1. Using Netport(R) Manager, configure the NetportExpress XL print
server for Berkeley lpr/lpd printing by assigning an IP address for each
port which will have a printer attached. Follow the instructions in the
NetportExpress XL server manual for assigning IP addresses.
2. On the Solaris 2.x host, for each IP address configured in step 1
assign a unique hostname in the /etc/hosts file. (If using NIS, add the
entries there.)
3. On the Solaris host, login as root and enter the following commands:
For a POSTSCRIPT printer:
lpsystem -t bsd <NP_HOSTNAME>
lpadmin -p <PRINTER_NAME> -s <NP_HOSTNAME>!PASSTHRU -I
postscript,simple
accept <PRINTER_NAME>
enable <PRINTER_NAME>
And/or these commands for a TEXT printer:
lpsystem -t bsd <NP_HOSTNAME>
lpadmin -p <PRINTER_NAME> -s <NP_HOSTNAME>!TEXT
accept <PRINTER_NAME>
enable <PRINTER_NAME>
Where <NP_HOSTNAME> is the hostname for the printer port defined in step
2, and <PRINTER_NAME> is the name of the print queue being created. This
step will need to done for each printer attached to the NetportExpress
XL print server and on each Solaris host using the NetportExpress XL.
4. Test the configuration by first checking network connectivity and
then the printer configuration:
ping <NP_HOSTNAME>
lp -d <PRINTER_NAME> /etc/hosts
Where both <NP_HOSTNAME> and <PRINTER_NAME> are the same values as
used in the above
steps.
5. See the Solaris man pages on lpsystem and lpadmin for additional
options.
An Example configuration:
lpsystem -t bsd intelp
lpadmin -p intel_PS -s intelp!PASSTHRU -I postscript,simple
lpadmin -p intel_TXT -s intelp!TEXT
accept intel_PS
accept intel_TXT
enable intel_PS
enable intel_TXT
ping intelp
lp -d intel_TXT /etc/hosts
This example defines two printer queues for text and PostScript*
printing named intel_TXT and intel_PS respectivly. The two print queues
represent a single printer attached to one of the ports on the
NetportExpress. The NetportExpress print server is defined in the
/etc/hosts file as intelp.
Trademark information