Printing via Shell Scripts
4-38 Print Server Installation Manual
Procedure Proceed as follows:
1. Enter the following command:
Syntax: mkque -q<printer name> -a"up = "'TRUE' &&
mkquedev \
-q<printer name> -d<printer name> \
-a"file = /dev/<zero device name>" \
-a"backend = /etc/printserver/interfaces/<script>"
Example: mkque -qmy_printer -a"up = "'TRUE' &&
mkquedev \
-qmy_printer -dmy_printer \
-a"file = /dev/my_device" \
-a"backend = /etc/printserver/interfaces/my_script"
You may have to enter the full path ('/usr/lib/mkque,' for example)
when using the 'mkque' command.
4.6.4.4. 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: enq -U -P<printer name>
Example: enq -U -Pmy_printer