printcap configuration problem
wblock at wonkity.com
Fri Jul 18 15:55:52 UTC 2014
On Fri, 18 Jul 2014, Beeblebrox wrote:
> Just an idea that I'd like to test if possible:
> Is there a way to parse a cups/ppd/*ppd file for lpd? So, for example
> /usr/local/libexec/lf2crlf (or any "if" file) maybe I would change to
> sed/awk /usr/local/etc/cups/ppd/HP_LaserJet_2100.ppd
> This is to test what is br?ken in cups - the ppd (unlikely) or cups.
Technically, sure. A program can check the PPD for printer features,
then enable or configure those features according to settings in
printcap or other files. That is one of the things that CUPS does.
In practice, it may be somewhat involved. Unless you change models of
printers frequently, it is probably easier to just manually set up the
filter to do what is desired.
More information about the freebsd-questions