Intel PRO/100 Setup Guide - Page 27

mkdir, chown daemon, chgrp daemon, chmod 775, lpc enable, lpc start, lpr -P

Page 27 highlights

4 Go to the shell prompt and create a spool directory for the printer, if the directory doesn't already exist. To do this, type the following commands: mkdir spool_directory chown daemon spool_directory chgrp daemon spool_directory chmod 775 spool_directory where: spool_directory is specified in the /etc/printcap file by the sd= option. (Example:/usr/spool/lpd/lj3ps) 5 Enable queuing for the printer by typing the following command: lpc enable printer where: printer is the local printer specified in the /etc/printcap file (for example: lj3ps ) 6 Enable printing by typing the following command: lpc start printer where: PRINTER is the local printer specified in the /etc/printcap file (lj3ps in the printcap sample) 7 Test the configuration by typing: ping host lpr -P printer file where: host is the name of the NetportExpress print server as it appears in the /etc/hosts file. printer is the name of the printer queue. file is the name of a file. 25

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48

25
4
Go to the shell prompt and create a spool directory for the printer,
if the directory doesn’t already exist. To do this, type the follow-
ing commands:
mkdir
spool_directory
chown daemon
spool_directory
chgrp daemon
spool_directory
chmod 775
spool_directory
where:
spool_directory
is specified in the /etc/printcap file by the
sd=
option.
(Example:
/usr/spool/lpd/lj3ps)
5
Enable queuing for the printer by typing the following command:
lpc enable
printer
where:
printer
is the local printer specified in the /etc/printcap file (for
example: lj3ps )
6
Enable printing by typing the following command:
lpc start
printer
where:
PRINTER
is the local printer specified in the /etc/printcap file
(lj3ps in the printcap sample)
7
Test the configuration by typing:
ping
host
lpr -P
printer file
where:
host
is the name of the NetportExpress print server as it appears
in the /etc/hosts file.
printer
is the name of the printer queue.
file
is the name of a file.