22
To set up the workstation to print with lpr/lpd on Solaris,
UnixWare, and other System V, Release 4-based systems
1 Log in to your UNIX workstation as root.
2 In the /etc/hosts file, add a unique host name and IP address for
each NetportExpress print server you want to configure.
3 Set up the print queue and remote printer. You can use the native
System Admininstration utility to add a remote printer of type
BSD, or you can add it from a command line by typing one of the
following sets of entries.
a Type: lpsystem -t bsd
host
where
host
is the host name from step 2.
b Type the printer entry.
• For printing PostScript or PCL files, type on one line:
lpadmin -p
printer
-s
host
!
port
-I
postscript,simple
• For printing standard UNIX text files, type on one line:
lpadmin -p
printer
-s
host
!
port
-I
simple
where:
printer
is the name of the printer queue.
host
is the name of the print server from step 2 above.
port
defines a remote printer attached to the
NetportExpress print server. It can be
LPT1_PASSTHRU or LPT1_TEXT (parallel port 1 or the
internal card)
LPT2_PASSTHRU or LPT1_TEXT (for parallel port 2)
COM1_PASSTHRU or COM1_TEXT (for the serial port)
Note: Use PASSTHRU for PCL, PostScript, or application
files and TEXT for standard UNIX text files.
c Type:
accept
printer
enable
printer
where:
printer
is the name of the printer queue.