|
|||||||||||
|
Re: typewriter function for an impact printer?
From: Andrew Sackville-West <andrew(at)farwestbilliards.com>
Date: Wed Feb 20 2008 - 22:56:21 EST
That would probably work in a "line mode" sort of way. That is you could get one line at a time. But that wouldn't help with horizontal position. You likely need a way to send each character individually so that you could space-bar your way across the page to the next blank. What you really need is the control codes for the printer, I suspect and a simple loop to capture characters and feed them to the printer one at a time. YOu may need to translate some of them as well. There is a technical manual that *almost* qualifies as a technical manual and it shows you how to put the printer in hex dump mode which would allow you to verify that it uses regular ascii codes... it looks like it does, but you'd want to make sure. If that's the case, just send them to the printer. You'd have to experiment to see if you need line-feeds, carriage returns etc...
technical manual:
A -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.orgReceived on Wed Feb 20 22:57:21 2008 This archive was generated by hypermail 2.1.8 : Wed Mar 19 2008 - 01:27:13 EDT |
||||||||||
|
|||||||||||