From owner-freebsd-questions@freebsd.org Sun Jul 26 23:34:30 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6ABA49AB925 for ; Sun, 26 Jul 2015 23:34:30 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 142F7872 for ; Sun, 26 Jul 2015 23:34:29 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id t6QNYMg2028334 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 26 Jul 2015 17:34:22 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id t6QNYLdt028326; Sun, 26 Jul 2015 17:34:22 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 26 Jul 2015 17:34:21 -0600 (MDT) From: Warren Block To: Bernt Hansson cc: Thomas Mueller , freebsd-questions@freebsd.org Subject: Re: Ulpt problems. In-Reply-To: <55B5095F.7040403@bananmonarki.se> Message-ID: References: <55B0BE81.70208@bananmonarki.se> <884706.24465.bm@smtp116.sbc.mail.ne1.yahoo.com> <55B1A2D3.9040707@bananmonarki.se> <55B217F6.1000603@bananmonarki.se> <55B5095F.7040403@bananmonarki.se> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Sun, 26 Jul 2015 17:34:22 -0600 (MDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jul 2015 23:34:30 -0000 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.