Belkin F1UP0002 Mode D'emploi page 124

Table des Matières

Publicité

Les langues disponibles
  • FR

Les langues disponibles

  • FRANÇAIS, page 141
UNIX/Linux-System Network
You will need to perform the tasks below, logged in as the
1
"superuser" (root). To configure your UNIX /Linux host for printing:
1.
Optionally, assign a name corresponding to the Print
2
Server's IP address. You can add this address to
the "/etc/hosts" file, by adding a line such as:
203.66.191.186
3
2.
Create a spool directory for the printer in the same
directory where spool directories are normally kept on
4
the machine, such as "/var/spool" or "/var/spool/lpd":
mkdir /var/spool/lpd /pserverd
5
chown daemon /var/spool/lpd /pserverd
chgrp daemon /var/spool/lpd /pserverd
6
chmod 775 /var/spool/lpd /pserverd
3.
Add an entry to the host's "/etc/printcap"
7
file, similar to the following:
printer-name:\
8
: lp = :\
: rm = 203.66.191.186 :\
9
: rp = lpt1:\
: lf=/var/spool/lpd /pserverd.log :\
10
:sd =/var/spool/lpd /pserverd :\
11
: mx# 0 :
Lines should be indented with tabs. More than one printer name can
be used, with variants separated by vertical bars (name1|name2).
12
12
The "rm =" entry should correspond to the IP address you have
assigned to the Print Server. You can also use a hostname if you have
13
13
assigned one in the "/etc/hosts" file.
The "sd =" entry should correspond to the spool directory you
14
14
created in the previous step.
The "rp =" entry should correspond to the port name of the remote
15
printer. The values should be one of lpt1, lpt2, or lpt3, depending on
15
the printer port.
The Print Server should now be available for printing from your UNIX /
16
16
Linux host.
17
17
pserver
124

Publicité

Table des Matières
loading

Table des Matières