How To
93
Network Guide
The remote printer name options used to invoke the different filters are as follows:
All other remote printer name options will be treated the same as lpb.
The following is an example of sending a text file, “txtfile”, via lpr with a form feed
appended:
% lpr -plpaf txtfile
Setting Up Different UNIX Systems Using the lpr Command
The following UNIX systems can print using the standard lpr command.
❏
SunSoft Solaris 2.4 or later
❏
SunOS 4.1.4 or later
❏
IBM AIX 3.2.5 or later and 4.1.3 or later
❏
HP-UX 9.05 or later
❏
SCO UNIX 4.2 or later
Setting up for SunSoft Solaris 2.4 or later
In the following steps, substitute the name that your printer will be known by for
HOSTNAME, and the name by which you want your printer to be known for Rprinter.
1. Add the IP address and printer host name to the \etc\hosts file.
For example:
22.33.44.55 HOSTNAME
2. Define the host name as a print server.
For example:
lpsystem -t bsd HOSTNAME
lpb
Binary files (no filters)
lpa
ASCII files
(carriage returns at line ends)
lpbf
Binary file with form feed at file
end
lpaf
ASCII file with form feed at file
end