From owner-freebsd-questions@FreeBSD.ORG Thu Aug 4 21:29: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 3E10A106564A for ; Thu, 4 Aug 2011 21:29:56 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr15.xs4all.nl (smtp-vbr15.xs4all.nl [194.109.24.35]) by mx1.freebsd.org (Postfix) with ESMTP id AC9348FC13 for ; Thu, 4 Aug 2011 21:29:55 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr15.xs4all.nl (8.13.8/8.13.8) with ESMTP id p74LTNNq063321; Thu, 4 Aug 2011 23:29:24 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id B4860BAB3; Thu, 4 Aug 2011 23:29:23 +0200 (CEST) Date: Thu, 4 Aug 2011 23:29:23 +0200 From: Roland Smith To: Chris Whitehouse Message-ID: <20110804212923.GA15233@slackbox.erewhon.net> References: <4E397A48.8070600@onetel.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uAKRQypu60I7Lcqm" Content-Disposition: inline In-Reply-To: <4E397A48.8070600@onetel.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: by XS4ALL Virus Scanner 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: Thu, 04 Aug 2011 21:29:56 -0000 --uAKRQypu60I7Lcqm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 03, 2011 at 05:41:44PM +0100, Chris Whitehouse wrote: > Hi, >=20 > before I use up too many trees experimenting, could some kind soul tell= =20 > me how I can get OpenOffice to print to this printer. This is the first= =20 > time I have tried to get anything printed from FreeBSD. >=20 > I'm following the handbook. I think the basic setup is ok, I can get=20 > text printed using eg > # lptest 20 5 | lpr -Plp >=20 > 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 >=20 > # cat |lpr -Plp >=20 > I get the whole text of the file not just "Is this thing working?". >=20 > The printer has various emulations, it is set to PCL 6 and I can't=20 > change it (not my printer) That is a pity. Just so you know, if you'd be able to switch it to PostScri= pt (of which it seems capable) you'd be more or less done. > Printing from OpenOffice just produces screeds of garbage, starting with= =20 > %!PS so I presume the text of the postscript that OO has produced. Yes. > The bit I'm stuck on is in section 9.4.1.3 Simulating PostScript on Non= =20 > PostScript Printers (which I presume is what I need), specifically=20 > setting the device. gs -h doesn't show this printer or any Kyocera=20 > printer. So either what should I set Device to, or how do I get=20 > ghostscript to know about this printer? There are several possible drivers you could use; pcl3 pxlmono pxlcolor. The gutenprint (a.k.a. gimp-print) driver also supports your printer direct= ly. I would start with the pcl3 driver if you want to go with the standard lpd. However, I'd recommend that you take the time and install and configure CUPS.=20 > I'm using 8.1-RELEASE, openoffice.org-3.2.1, ghostscript8-8.71_6 Do you know that ghostscript9 is in ports? Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --uAKRQypu60I7Lcqm Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iEYEARECAAYFAk47DzMACgkQEnfvsMMhpyVSBQCfXPw0XewWYfetQjYemzi5b4ya d2gAniSS2S/ZhHW6vyx8gy0wqMQ2shJT =sk8P -----END PGP SIGNATURE----- --uAKRQypu60I7Lcqm--