Apple 12/640PS Technical Information Seite 85

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 354
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 84
5Add the following entry to the
/etc/printcap
file:
printer_queue_name|[description_of_printer]:\
:lp=:mx#0:rm=printer_IP_name:\
:rp=printer_queue_name:\
:sd=path_to_this_queues_spool_directory:\
:lf=path_to_this_queues_log_ file:
Fill in the parameters in italics as follows:
m Replace printer_queue_name with the name the user should use to
reference the printer.
m Replace description_of_printer with a comment describing the printer.
m Replace printer_IP_name with the IP name you assigned to the printer in
“Step 3: Assigning an IP Address to the Printer,” earlier in this chapter.
m Replace path_to_this_queues_spool_directory with the pathname of the
unique directory created for this queue.
m Optionally replace path_to_this_queues_log_ file with the unique
pathname of the file where error information from the
lpd command will
be logged.
Heres an example of a
printcap entry:
Example
GarysLW|[LaserWriter_12_640_PS]:\
:lp=:mx#0:rm=LaserWriterFloor2:\
:rp=GarysLW:\
:sd=/usr/spool/lpd/GarysLW:\
:lf=/usr/spool/lpd/printerlog
6 Create and set the privileges for the spool directory specified in step 5:
mkdir path_to_this_queues_spool_directory
Example
mkdir /usr/spool/lpd/GarysLW
chown daemon /usr/spool/lpd/GarysLW
chgrp daemon /usr/spool/lpd/GarysLW
chmod 775 /usr/spool/lpd/GarysLW
85
Setting Up the Printer for UNIX Users
Seitenansicht 84
1 2 ... 80 81 82 83 84 85 86 87 88 89 90 ... 353 354

Kommentare zu diesen Handbüchern

Keine Kommentare