GCC 12n Guía De La Red

Descargar
Página de 63
41
• If you have attached a hard disk to the printer, the size of print job(s) is not limited to
the free space of that hard disk.
• Network access to the printer can be controlled.
Printing with the internal lpd
Sending jobs to the printer’s internal lpd is the most convenient method of printing over
TCP/IP to your printer. You need to:
• Create a spool directory on each machine that will use the printer.
• Configure the internal spooler by adding the printer’s hostname and any attributes to
the file /etc/printcap on each machine that will use the printer.
• Optionally, you can attach a hard disk to the Printer’s SCSI port.
Note: The above steps apply to Berkeley UNIX machines. Forwarding software for other
platforms may require additional steps.
Creating a spool directory
You must create a spool directory on each computer that will use the printer. The spool
directory is used to temporarily hold print jobs until they are sent to the printer. Typically
this directory will be named /usr/spool/<printername> or /var/spool/lpd/<printername>.
This directory should be owned by user daemon and group daemon, and should be pro-
tected 775. Because of the large size of graphics jobs, the spool directory should be on a
disk with tens of megabytes of free space.
Note: The above procedure applies to Berkeley UNIX machines. Forwarding software for
other platforms may require additional steps.
Configuring the internal spooler
The UNIX lpd is configured through the system text file /etc/printcap. The printcap file
contains printer descriptions, each having a name and a number of attributes with two-
character names. You will need to add an entry to the printcap file, identifying your printer
and its attributes, on each computer that will use the printer. The file can be edited by the
superuser with any text editor. A sample printcap entry looks like this:
honolulu:\
:lp=:rm=honolulu:rp=Printer:\
:sd=/var/spool/lpd/honolulu:mx#0:\
:lf=/var/adm/lpd-errs: