Solved

Redirecting LPT1 output to a file?

Posted on 1998-08-06
4
1,912 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 100 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

The Rasberry PI is a low cost piece of hardware that you can have a lot of fun with through experimenting and building/working on projects like media players, running a low cost computer, build data loggers etc. - see: https://www.raspberrypi.org
Monitor input from a computer is usually nothing special.  In this instance it prevented anyone from using the computer.  This was a preconfiguration that didn't work.
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

734 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