Many different remote printer names may be set up, all directed to the same Ethernet remote host, and each is given a different local printer name to be redirected. Different types of print jobs may be sent to different printer names, which will then all print out on the same printer, through the same Ethernet interface, but using different filters.

The remote printer name options used to invoke the different filters are as follows:


Binary files (no filters)




ASCII files (carriage returns at line ends)




Binary file with form feed at file end




ASCII file with form feed at file end



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

164Settings for UNIX