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 | ß Changes the owner |
| to daemon |
# chgrp | ß 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
# /usr/lib/lpd&
User Manual | 57 |