4.Register the printer in the /etc/printcap file.

Example: In the case that the printer name “OP8c_lp” is registered in the direct output port (lp)

OP8c_lp:\

:lp=:rm=OP8c:rp=lp:\

:sd=/usr/spool/OP8c_lp:\

lf=/usr/spool/OP8c_lp/OP8c_lp_errs:

<The meaning of each argument>

Indicates the name of the printer.

lp : The name of the device connecting the printer Does not have to be indicated.

 

rm:

The name of the host of the remote printer.

 

 

Type in the name of the host which was registered

 

 

in the /etc/hosts file in Procedure 2.

 

rp :

The name of the printer of the remote printer

 

 

Select either lp, sjis or euc in the logical printer

 

 

name of the Fast EtherNet.

 

 

(Please refer to Page 64 for the logical printer name)

sd :

Spool Directory

indicate in the absolute path.

lf :

Error Log File

indicate in the absolute path.

5. Create the Spool Directory and Error Log File that were

English

 

registered in the /etc/printcap file in Procedure 4.

 

Example: To create a Spool Directory “OP8c_lp” and Error

 

Log File “OP8c_lp_errs”

 

 

# mkdir /usr/spool/OP8c_lp

ßSpool Directory

 

 

creation

 

#touch /usr/spool/OP8c_lp/OP8c_lp_errs ßError Log File creation

# chown –R daemon /usr/spool/OP8c_lp

ß Changes the owner

 

to daemon

# chgrp –R daemon /usr/spool/OP8c_lp

ß Changes the group

 

to daemon

6Examine if the lpd (printer daemon) is activated or not.

#PS aux grep lpd

If lpd is not operating, please perform the following command [while logged in] as the super-user.

# /usr/lib/lpd&

User Manual

57

Page 57
Image 57
Japan Tiger 7100e+ user manual etc/hosts file in Procedure