Users Manual SX

Using PRICOM in BSD UNIX Environment

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)

<Description of parameters>

(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 UNIX/Linux Environment

5-20

Page 89
Image 89
Silex technology PRICOM SX-300U user manual Using Pricom in BSD Unix Environment