Playing around with the setup a little more, I was able to get
LPD-O-Matic operating again, but only if I put the 'foomatic'
printer description in /etc/printcap and alter my $configpath=
"/etc/printcap" instead of "/etc/foomatic", in /usr/bin/lpdomatic.
This sort of makes sense since the spool queue is only recognized
from the printer definition in printcap.
Before I recognized that the lpdomatic Perl script had the
'foomatic' config line in it, I had already included the kxp4410
printer entry in printcap which allowed it to work the first time.
My problem now is how to include another printer definition, 'raw',
in printcap to allow printing from Windows to the same printer.
The 'raw' printer description will work and I can print from Windows
through Samba, but I cannot include both printer descriptions in
the same printcap without the first one obscuring the other. It seems
to me that more than one definition is allowed but apparently they
have to have different device definitions; i.e. both canot contain
:lp=/dev/lp0:
Is there a way to do this?
BTW, my LPRng system doesn't seem to work correctly using 'lpc'.
For example, i cannot use 'lpc kill all' to stop/restart the server.
I have to 'kill pid' and then '/usr/sbin/lpd' to reread printcap
and restart the server. Do I just not understand or is this a
problem?
TIA
|