EasyManua.ls Logo

Kyocera Printserver - Page 154

Kyocera Printserver
207 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Printing via Shell Scripts
4-34 Print Server Installation Manual
character in a line and the backslash. The backslash character itself
must be the last character in a line.
Procedure 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:
4.6.3.5. Enabling the Printer
Once the printer has been entered into the spooler system, you
must enable the printer so that print jobs can be accepted.
Procedure Proceed as follows:
1. Enter the following command:
Syntax: lpc
lpc> enable <printer name>
lpc> start <printer name>

Table of Contents