Kyocera Printserver Installation Manual page 154

Table of Contents

Advertisement

Printing via Shell Scripts
Procedure
4.6.3.5. Enabling the Printer
Procedure
4-34
character in a line and the backslash. The backslash character itself
must be the last character in a line.
Proceed as follows:
1. Add the following entry to the '/etc/printcap' file:
Syntax:
<printer name>:\
:lp=/dev/<zero device name>:\
:of=/etc/printserver/interfaces/<script name>:\
:sd=/usr/spool/<spool dir. name.>:
Example: my_printer:\
:lp=/dev/my_device:\
:of=/etc/printserver/interfaces/my_script:\
:sd=/usr/spool/my_spool:
In order to print out PostScript files, the entry in '/etc/printcap'
must contain the 'sh' (suppress header) flag. In this case, the entry
appears as follows:
<printer name>:\
:lp=/dev/<zero device name>:\
:of=/etc/printserver/interfaces/<shell script name>:\
:sd=/usr/spool/<spool dir. name>:sh:
Once the printer has been entered into the spooler system, you
must enable the printer so that print jobs can be accepted.
Proceed as follows:
1. Enter the following command:
Syntax:
lpc
lpc> enable <printer name>
lpc> start <printer name>
Print Server Installation Manual

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents