U N I X P r i n t i n g
5-24
❖
D o c u P r i n t 4 5 1 2 / 4 5 1 2 N N e t w o r k I n t e r f a c e C a r d U s e r G u i d e
9. Remove the entry from the arp cache using the following
command. Specify the print server either by its IP address
or by its name. For example:
arp -d printfast
lpd Printing
lpd is an implementation of the standard UNIX line printer
daemon which lets you print across a TCP/IP network without
the need to install software on your workstation with all
filtering and banners done by NIC. Remote printing uses the
same commands (lpr, lpq, lpc) as local printing.
The process begins when the lpr call finds a printer on a
remote system by looking at the remote (rm) entry in the
/etc/
printcap
file for that printer. lpr handles a print job for a
remote printer by opening a connection with the lpd process
on the remote system and sending the data file (followed by
the control file containing control information for this job) to
the remote system. The printer-based lpd then filters the data
and prints the job according to information contained in the
control file and its own printcap file.
NIC lpd recognizes the format of a certain printer emulations
and filters the data, if possible, so it can be printed on the
printer type you specify. You can indicate to the NIC lpd what
type of printer is attached to by either:
1. Accepting the default port setting (PCL, PostScript and
other), or
2. Changing the listed emulations via the
Telnet
utility.
The following sections give specifics lpd setup instructions for
various systems.
Setting Up a BSD Remote Printer to Use lpd
To set up a remote printer on the host that sends jobs to NIC
using printer resident lpd, add an entry to the /etc/printcap
file on your host for each printer you use. The steps are
described below.
Book.frm : CHAP5.FRM Page 24 Saturday, October 12, 1996 7:43 AM