From owner-freebsd-questions@FreeBSD.ORG Wed Aug 3 20:28:56 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA1EA106566C for ; Wed, 3 Aug 2011 20:28:56 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id AB0FF8FC08 for ; Wed, 3 Aug 2011 20:28:56 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id p73KStGB014771; Wed, 3 Aug 2011 14:28:55 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id p73KSrER014768; Wed, 3 Aug 2011 14:28:55 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Wed, 3 Aug 2011 14:28:53 -0600 (MDT) From: Warren Block To: Chris Whitehouse In-Reply-To: <4E397A48.8070600@onetel.com> Message-ID: References: <4E397A48.8070600@onetel.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Wed, 03 Aug 2011 14:28:55 -0600 (MDT) Cc: User Questions Subject: Re: printing to Kyocera FS-1030D X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Aug 2011 20:28:57 -0000 On Wed, 3 Aug 2011, Chris Whitehouse wrote: > # cat |lpr -Plp > > I get the whole text of the file not just "Is this thing working?". > > The printer has various emulations, it is set to PCL 6 and I can't change it > (not my printer) HP printers can use PJL sequences to set the page description language, or autodetect it via the first few characters. But if someone in charge decided to stick you with PCL6 that should also include PCL5. > Printing from OpenOffice just produces screeds of garbage, starting with %!PS > so I presume the text of the postscript that OO has produced. > > The bit I'm stuck on is in section 9.4.1.3 Simulating PostScript on Non > PostScript Printers (which I presume is what I need), specifically setting > the device. gs -h doesn't show this printer or any Kyocera printer. So either > what should I set Device to, or how do I get ghostscript to know about this > printer? The ljet4 driver in Ghostscript produces PCL5. I think there's also a PCL6 driver, but have never bothered. My printing document here shows how to create a PS to PCL5 filter: http://www.wonkity.com/~wblock/docs/html/lpdprinting.html