[comp.os.msdos.programmer] redirecting LPT1 to PRN ?

olsen@delta.eecs.nwu.edu (Jeff S. Olsen) (02/22/91)

I need to redirect information from the LPT1 device driver to the PRN
device driver.  I know there are programs that will allow me to redirect
output to a file, and I assume I can call that file PRN and that would
work.  I was wondering if there was a smaller (memory wise) way of
accomplishing this by fiddling with the device driver list.
I guess as a kludge, one could just change the names of the device
drivers in memory so that LPT1 was PRN and PRN was BLAH.

What is the best way of approaching/solving this problem?  Coding a
solution is not out of the question if enough information could be provided.

Jeff Olsen
olsen@eecs.nwu.edu