beautypg.com

Using pricom in bsd unix environment, Users manual sx – Silex technology Mini Print Server PRICOM SX-300U User Manual

Page 89

background image

5-20

Using PRICOM in UNIX/Linux Environment

Users Manual SX

This section explains how to print from BSD UNIX.
Command absolute path and setting method may vary depending on OS version. Refer to
your workstation manual for more details.

1. Prepare the print queue.

1-1 Log in to the UNIX machine by “root”.

# login root

1-2 Register the PRICOM 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)

(1) Describes the printer name.
(2) lp: Device file name to connect printer.

No name designation required on the network.

rm: remote printer host name.

Type the host name registered to /etc/hosts file.

rp: Remote printer name.

PRICOM remote printer name; select lp.

(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

Using PRICOM in BSD UNIX Environment