Conecting new printer to a 286
cisin at xenosoft.com
Mon Jul 5 14:12:50 CDT 2010
On Sun, 4 Jul 2010, Charlie Carothers wrote:
> If it were me though, I think I would tend to just grab an old PC with a
> parallel port and arrange a bit of logic to make that talk to the
> Centronics output of the classic computer.
That "logic" consists of a bidirectional printer port (See Bruce Eckel's
Interfacing book), and a cable that you WILL have to make yourself.
If it IS an old PC (less than about a dozen MHz), then you will need to
add some trivial circuitry to extend the pulse, otherwise your polling
loops will be too slow. If the alien machine is like MOST, then it cheats
on the spec, and the pulse is WAY too short to use interrupts.
> The software (under DOS yet)
> should be pretty much a piece of cake with that arrangement. Just
> mostly accept input up to CR, CRLF or whatever and write the text lines
> to a file. I suppose handling escape sequences might not be quite so
> much fun. It sort of depends on the capabilities of the target physical
> printer and just how close to the classic's printout look one was
> willing to support.
Even the escape sequences are not hard to figure out. Many printers are
well documented. With a little trivial study, you can do post-processing.
It does NOT have to be done during the capture, IFF you are writing to a
file. If you choose to not write to a file, and use the PC as a print
buffer, then you will need to do ad-hoc processing.
If you do a good job of it, then you won't need to start from scratch NEXT
Grumpy Ol' Fred cisin at xenosoft.com
More information about the cctalk