From owner-freebsd-questions@FreeBSD.ORG Wed Aug 3 17:58:45 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 C3993106564A for ; Wed, 3 Aug 2011 17:58:45 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 9AD1D8FC0A for ; Wed, 3 Aug 2011 17:58:45 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id p73Hx3pJ045564; Wed, 3 Aug 2011 12:59:03 -0500 (CDT) Date: Wed, 3 Aug 2011 12:59:03 -0500 (CDT) From: Robert Bonomi Message-Id: <201108031759.p73Hx3pJ045564@mail.r-bonomi.com> To: cwhiteh@onetel.com, freebsd-questions@freebsd.org In-Reply-To: <4E397A48.8070600@onetel.com> Cc: 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 17:58:45 -0000 > From owner-freebsd-questions@freebsd.org Wed Aug 3 11:42:44 2011 > Date: Wed, 03 Aug 2011 17:41:44 +0100 > From: Chris Whitehouse > To: User Questions > Subject: printing to Kyocera FS-1030D > > Hi, > > before I use up too many trees experimenting, could some kind soul tell > me how I can get OpenOffice to print to this printer. This is the first > time I have tried to get anything printed from FreeBSD. > > I'm following the handbook. I think the basic setup is ok, I can get > text printed using eg > # lptest 20 5 | lpr -Plp > > If I try to print the postscript program given in the handbook > %!PS > 100 100 moveto 300 300 lineto stroke > 310 310 moveto /Helvetica findfont 12 scalefont setfont > (Is this thing working?) show > showpage > > # cat |lpr -Plp > > I get the whole text of the file not just "Is this thing working?". Conclusive evidence the printer is _not_ enabled for Postscript. > > The printer has various emulations, it is set to PCL 6 and I can't > change it (not my printer) _That_ does explain the observed behavior, perfectly. :) > Printing from OpenOffice just produces screeds of garbage, starting with > %!PS so I presume the text of the postscript that OO has produced. Precisely correct. > 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), Correct. > specifically > setting the device. gs -h doesn't show this printer or any Kyocera > printer. Unsurprising. since it _does_ "understand" PS, _if_ you can set it that way. :) You -don't- need a driver that is specific to that printer, just one that will output the PCL language thae the printer understands. > So either what should I set Device to, or how do I get > ghostscript to know about this printer? I don't think there is a 'generic' "PCL" driver, but one of the 'HP laserjet' drivers _should_ do the job. Pick one thqt corresponds to a 'more-or-less recent' model. I can't give specific advice, as I don't have ghostscript installed on my FreeBSD server. (it's remote and I never actually print from it.)