Date: Sun, 26 Jul 2015 17:34:21 -0600 (MDT) From: Warren Block <wblock@wonkity.com> To: Bernt Hansson <bah@bananmonarki.se> Cc: Thomas Mueller <mueller6724@bellsouth.net>, freebsd-questions@freebsd.org Subject: Re: Ulpt problems. Message-ID: <alpine.BSF.2.20.1507261727080.23369@wonkity.com> In-Reply-To: <55B5095F.7040403@bananmonarki.se> References: <55B0BE81.70208@bananmonarki.se> <884706.24465.bm@smtp116.sbc.mail.ne1.yahoo.com> <55B1A2D3.9040707@bananmonarki.se> <alpine.BSF.2.20.1507232131490.46367@wonkity.com> <55B217F6.1000603@bananmonarki.se> <alpine.BSF.2.20.1507260916120.4628@wonkity.com> <55B5095F.7040403@bananmonarki.se>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 26 Jul 2015, Bernt Hansson wrote: >> Please start by testing without any filters. Use the printcap file shown >> in >> >> https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing-lpd.html#printing-lpd-setup >> >> and test with the small PostScript sample at the end of >> >> https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing-lpd.html#printing-lpd-filters-ps2pcl >> >> > That did work... Strange. But if I add a filter like this > > :if=/usr/local/libexec/enscript:\ from the handbook it stops working. Odd to > say the least. Not necessarily, it just means something is wrong with the filter. Is print/enscript-letter or print/enscript-a4 installed? The filters can be tested directly. Send some text to the filter: lptest | /usr/local/libexec/enscript It will produce a bunch of PostScript output, the last lines of which are: %%Trailer %%Pages: 4 %%DocumentNeededResources: font Courier-Bold Courier %%EOF [ 4 pages * 1 copy ] left in - If that does not work, check the contents of the /usr/local/libexec/enscript file and the permissions set on it.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1507261727080.23369>