I want to be able to setup print queues based on form type not device.
Ex. I would like to have say 30 print queues, one for each type of form
we use. When we are ready to print that form, we would load it
into
a printer (1 of 8), then "attach" the print queue for that form to
the
printer.
Is there an easier way to accomplish this? What I was going to do was:
Create all the queues with /dev/null as the printer, use lpc to to set
it so
queueing is enabled, but printing is disabled. When ready to use that
form, edit the /etc/printcap file entry with the appropriate /dev for
printing to
that printer. lpc stop then lpc start, then when complete lpc stop again
then
either keep the /dev the way it is or change it back to /dev/null and
start all over.
(I would have a program edit the file & invoke lpc automattically, the
operator
would just have to key in the formqueue and the appropriate printer
which
would internally be converted to the appropriate /dev name).
To help our printer person , install sudo to allow a non-root holder the
use of lpc.
Any other ideas would be much welcomed, especially easier ones.
George Gallen
ggallen_at_slackinc.com
Received on Tue Mar 03 1998 - 17:12:14 NZDT