Introduction To Bsd Printing - Black Box LE3840A Manual

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

Advertisement

ETHERNET PRINT SERVERS HIGH SPEED AND 4-PORT
After performing the tar, the system will display a list of files copied via the
tar for BSD/ULTRIX users.
5. Run the installation script. For example, type:
tcpinst
The script automatically downloads the correct utilities for your particular
system and prompts you for information as needed. See the choices below,
read the introductory section on BSD, System V or AIX system printing, and
continue installation.

6.5 Introduction to BSD Printing

A BSD system printer is configured through the /etc/printcap (printer
capability) file that contains a full description of the printer including:
printer name, device name, spooling directory, input/output filters. To add a
new printer, you must add an entry to the printcap file.
Printing on a BSD system is controlled by the lpr command along with the
line printer daemon (lpd), which controls the spooling area for each printer.
When a file is spooled for printing through lpr, the system creates a control
file for the job along with a copy of (or link to) the file itself in the spool
directory for the target printer. lpd is then notified that there is a job ready
for that printer. lpd reads the control file and sends the data file(s) to the
printer using the configuration information in /etc/printcap.
The input filter specified in the printcap file provides format conversions or
any processing desired on the input data. For example, an input filter called
psfilter translates ASCII data to PostScript and passes PostScript data through
untouched. Example printcap entries are provided for each supported BSD
system.
Here are a few of the most important print commands, along with some
salient features. Refer to your system documentation for detailed
descriptions.
Print Commands
• lpr—The lpr command spools named files to the spool area for printer
printer_name and notifies lpd that a job is waiting.
lpr -P <printer_name><file1><file2>...
• lpq—The lpq command reports the status of queued jobs for printer
printer_name.
lpq -P <printer_name>
92

Advertisement

Table of Contents
loading

Table of Contents