Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Redirecting LPT1 output to a file?

Posted on 1998-08-06
4
Medium Priority
?
2,024 Views
Last Modified: 2011-09-20
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?

0
Comment
Question by:hstein
4 Comments
 
LVL 10

Expert Comment

by:MasseyM
ID: 1020346
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
 
LVL 3

Expert Comment

by:duckers
ID: 1020347
Are you running the DOS program within antoher operating system?
0
 

Author Comment

by:hstein
ID: 1020348
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
 
LVL 1

Accepted Solution

by:
FuzzyLogic earned 200 total points
ID: 1020349
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

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Does your iMac really need a hardware upgrade? Will upgrading RAM speed-up your computer? If yes, then how can you proceed? Upgrading RAM in your iMac is not as simple as it may seem. This article will help you in getting and installing right RA…
This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

877 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question