From owner-freebsd-questions Thu Nov 14 12:16:55 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0912037B401 for ; Thu, 14 Nov 2002 12:16:54 -0800 (PST) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id A54B043E42 for ; Thu, 14 Nov 2002 12:16:53 -0800 (PST) (envelope-from paulbeard@mac.com) Received: from asmtp02.mac.com (asmtp02-qfe3 [10.13.10.66]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id gAEKGmK5009668 for ; Thu, 14 Nov 2002 12:16:48 -0800 (PST) Received: from mac.com ([12.231.115.57]) by asmtp02.mac.com (Netscape Messaging Server 4.15) with ESMTP id H5L1NZ00.PGQ for ; Thu, 14 Nov 2002 12:16:47 -0800 Message-ID: <3DD404AB.7060706@mac.com> Date: Thu, 14 Nov 2002 12:16:43 -0800 From: paul beard User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021107 X-Accept-Language: en-us, en MIME-Version: 1.0 To: questions Subject: Re: serial printing to old inkjet (stylewriter) References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Warren Block wrote: > On Wed, 13 Nov 2002, paul beard wrote: > You should probably set the baud rate and communications parameters in > there. See man printcap. OK, I've looked into that and set the br value to be 57600. > >>Here's an example of what I am doing: >>[/usr/home/paul/src/stylewriter]:: enscript /etc/motd -d stylps >>[ 1 pages * 1 copy ] sent to stylps >>1 lines were wrapped > > > enscript produces PostScript output, so it probably won't produce > anything useful on that printer. At least until after you install > Ghostscript. 8-) gs is installed and is in the filter script(s) I'm using. >>I have the serial port of /dev/cuaa0 linked to the >>/dev/stylewriter device. > > > Chapter 11 of the Handbook shows setting up a serial printer, although I > confess I haven't tried it because my printers are all Ethernet. I've got the paper handbook 3/e open here and it gets me tantalizingly close. If I do anything to lpr (kill it or dequeue an job with lprm) the printer does it's paper-feeding dance. Still missing something, though. -- Paul Beard / 8040 27th Ave NE / Seattle WA 98115 / paulbeard [at] mac [ dot] com / 206 529 8400 weblog @ If little else, the brain is an educational toy. -- Tom Robbins To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message