看板 FB_questions 關於我們 聯絡資訊
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 > > #!/bin/sh > 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. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"