Re: printcap configuration problem

看板FB_questions作者時間11年前 (2014/07/19 02:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串9/14 (看更多)
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"
文章代碼(AID): #1JoMWZUr (FB_questions)
討論串 (同標題文章)
文章代碼(AID): #1JoMWZUr (FB_questions)