Introduction To System V Release 4 Printing - Black Box LE3840A Manual

Ethernet print server high speed ethernet print server 4-port
Table of Contents

Advertisement

filter, psbanner, will generate PostScript banners. To use these files, simply
edit the printcap entry created during installation. See the sample printcap
entry using these filters below:
<printer_name>|Ethernet Print Server printer:\
:lp=/dev/null:\
:if=/usr/dpi/psfilter|usr/dpi/
dpifilter DPIfast 10001:\
:of=/usr/dpi/psbanner:\
:sd=/usr/spool/<printer_name>:

6.7 Introduction to System V Release 4 Printing

The lp system provides printer support on System V Rel. 4 systems. You can
easily configure and use a printer from a small set of commands that will work
on any SVR4 system. Some systems (HP, AIX) provide sophisticated system
management tools that produce the same results. You can use these instead
of lp tools when convenient.
Simply put, the lp system works by passing output data through an interface
program that is usually a shell script. The interface script generates a banner
page, sets up the output device (using stty), and writes the data to the printer.
By default, the system uses an interface file called "standard." However, you
can configure a printer to use a specific interface file designed for a particular
type of printer. The sophistication and flexibility of the interface script plays
a large role in determining the difficulty involved in adding a remote printer
to an SVR4 system.
The lp system classifies both files and printers by content-type, or format.
For example, if a printer is configured to support a content-type of PostScript,
then PostScript files can be printed directly. However, an ASCII file must be
converted before it can be printed.
The filter subsystem automatically provides format conversions—in this
case, ASCII to PostScript. Use the lpfilter command to list, modify, or add
filters. You can identify a file as a given content-type when it is printed by
using the -t (for type) option with the lp command.
Here are a few of the most important commands, along with some salient
features. Refer to your system documentation for more detailed descriptions.
P
C
RINT
OMMANDS
lpadmin—The lpadmin command configures a printer (printer_name)
and associates it with a given device and interface program (there is no
/etc/printcap file). The -i option tells lpadmin to use the interface file
customized for this printer. Lpadmin uses the standard interface file if
you don't use -i option. See the example below:
CHAPTER 6: UNIX Printing through TCP/IP
97

Advertisement

Table of Contents
loading

Table of Contents