Redirecting LPT1 output to a file?

I have an old DOS program that prints directly to the printer.  I want to be able to capture these reports so that I can print them at other times.  Unfortunately this program doesn't have an option to print to a file.  How can I redirect my LPT1 output to a file?

hsteinAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
FuzzyLogicConnect With a Mentor Commented:
There is a little program the redirects printer port into file.
It's called prn2file.com (1.3Kb) and you can find it in many ftp sites.
Try the following link:
  http://ftpsearch.ntnu.no/cgi-bin/search?query=prn2file.com

Hope this will help you,
Fuzzy
0
 
MasseyMCommented:
You can create another port (LPT2) and set that up to be a "save as file" printer... (Under options, you must choose spool DOS prrint jobs)

- matt
0
 
duckersCommented:
Are you running the DOS program within antoher operating system?
0
 
hsteinAuthor Commented:
Thanks, but it won't work.  My program only prints to LPT1.  I figured out a solution that worked.  I redirected it to a network drive using "capture L=1 cr=s:\work\file.txt" . This works.

 

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.