Silex technology PRICOM SX-300U user manual Using Pricom in Linux Environment

Models: PRICOM SX-300U

1 191
Download 191 pages 13.11 Kb
Page 91
Image 91

Users Manual SX

Using PRICOM in Linux Environment

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.

NOTE

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

 

 

Using PRICOM in UNIX/Linux Environment

5-22

Page 91
Image 91
Silex technology PRICOM SX-300U user manual Using Pricom in Linux Environment