Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 2002 12:16:43 -0800
From:      paul beard <paulbeard@mac.com>
To:        questions <questions@FreeBSD.ORG>
Subject:   Re: serial printing to old inkjet (stylewriter)
Message-ID:  <3DD404AB.7060706@mac.com>
References:  <Pine.BSF.4.21.0211141220050.52189-100000@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 @ <http://paulbeard.no-ip.org/movabletype/>;

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DD404AB.7060706>