Specifications
5-22
Using LAN board in UNIX/Linux Environment
SATO Users Manual
Using LAN board in Linux Environment
This section explains how to print from Linux.
Command absolute path and setting method may vary depending on OS version. Refer to
your workstation manual for more details.
-For print queue creating tool of Red Hat Linux and Turbo Linux, refer to “Using Red Hat Linux print
queue creating tool” and “Using Turbo Linux print queue creating tool”, respectively.
1. Prepare the print queue.
1-1 Log in to the Linux machine through “root”.
# login root
1-2 Register the LAN board to /etc/printcap file.
Example: To register a print queue by the name “pboxlp”.
pboxlp:\ ---(1)
:lp=:rm=pbox:rp=lp:\ ---(2)
:sd=/usr/spool/pboxlp:\ ---(3)
:lf=/usr/spool/pboxlp/pboxlp_errs: ---(4)
<Description of parameters>
(1) Describes the printer name.
(2) lp: Device file name to connect printer.
No name designation required on the network.
rm: Host name for the remote printer
Type the host name registered to /etc/hosts file.
rp: Remote printer name.
LAN board remote printer name; select either lp, sjis or euc.
(3) sd: Spool directory name. Must be the absolute path.
(4) lf: Error log file name. Must be the absolute path.
1-3 Create the spool directory and error log file registered to /etc/printcap file.
Example: To create the spool directory “pboxlp” and error log file “pboxlp_errs”.
# mkdir /usr/spool/pboxlp Create the spool directory
# touch /usr/spool/pboxlp/pboxlp_errs Create the error log file
# chown -R daemon /usr/spool/pboxlp Change the owner to daemon
# chgrp -R daemon /usr/spool/pboxlp Change the group to daemon
NOTE