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

Page 91

Advertising
background image

5-22

Using PRICOM in UNIX/Linux Environment

Users Manual SX

This section explains how to print from Linux.
Command path and settings 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 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: Host name for the remote printer

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

NOTE

Using PRICOM in Linux Environment

Advertising