🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #4831

redirecting LPT1 to PRN ?

#4831
From: Jeff S. Olsen
Date: Thu, 21 Feb 1991 19:08
13 lines
1165 bytes
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
Technical Details
Message-ID: <16867@accuvax.nwu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!asuvax!ncar!zaphod.mps.ohio-state.edu!casbah.acns.nwu.edu!accuvax.nwu.edu!delta.eecs.nwu.edu!olsen

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!asuvax!ncar!zaphod.mps.ohio-state.edu!casbah.acns.nwu.edu!accuvax.nwu.edu!delta.eecs.nwu.edu!olsen
From: olsen@delta.eecs.nwu.edu (Jeff S. Olsen)
Newsgroups: comp.os.msdos.programmer
Subject: redirecting LPT1 to PRN ?
Message-ID: <16867@accuvax.nwu.edu>
Date: 21 Feb 91 19:08:16 GMT
Sender: news@accuvax.nwu.edu
Distribution: comp.os.msdos.programmer,alt.msdos.programmer
Organization: EECS Department, Northwestern University
Lines: 13