<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Mon, 16 Jan 1989 05:52:51 GMT
From   : morris@jade.Berkeley.EDU (Mike Morris)
Subject: Redirection of printer output

In article <> andrew@frip.gwd.tek.com (Andrew Klossner) writes:
>
>   "My father works with a Kaypro 10 and a Kaypro II.  He is
>   trying to capture output that would normally be sent to the
>   printer (serial port) to a disk file.  Can this be done in CPM?
>   Can anyone tell me the command sequence or utility to do it?"
>
>There is no standard way to do this.  It wouldn't be hard to write a
>utility to do it; the utility would shuffle itself to high memory and
>load the application (like DDT), capture the BDOS "print character"
>vector, and buffer and write a disk file.
>
>[The contributor who suggested PIP has apparently confused
>printer->disk with disk->printer.]
>
>  -=- Andrew Klossner   (uunet!tektronix!hammer!frip!andrew)    [UUCP]
>                        (andrew%frip.gwd.tek.com@relay.cs.net)  [ARPA]

On the chance that he is having to repeat my efforts with wordstar, I had
to write a serial printer driver for Wordstar 3.01 years ago...  If he needs
it (to crib code from if nothing else) I'll be happy to send it to him.
It sits in the patch space, and opens a file and then procedds to dump all
printer output to it.  When the printer is done, the file is closed, all
neat and pretty.  One of the projects on the stack is to hack my BIOS to
implement another redirection target (UL1: or something) to be a modification
of that old patch - to some file like OUT.OUT, which would then be renamed.
 
Or something.

Lastly, one kludge that I used one time was a serial print buffer, with the
output stalled with a ^S.  I dumped the file into it, then ran the
modem program, after it was up I started the capture function, swapped
ports on the buffer, and a ^Q sucked the file in.  It worked, but it took
a couple of tries and a breakout box to do it.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#Include disclaimer.standard
#Include quote.cute

The opinions above probably do not even come close to those of my employer(s).

US Snail: ...............UUCP: .........................Also:
   Mike Morris .............morris@Jade.JPL.NASA.gov  ..... WA6ILQ
   P.O. Box 1130
   Arcadia, Ca. 91006-1130

<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>