Solved

Redirecting LPT1 output to a file?

Posted on 1998-08-06
4
1,869 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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

this article is a guided solution for most of the common server issues in server hardware tasks we are facing in our routine job works. the topics in the following article covered are, 1) dell hardware raidlevel (Perc) 2) adding HDD 3) how t…
This paper addresses the security of Sennheiser DECT Contact Center and Office (CC&O) headsets. It describes the DECT security chain comprised of “Pairing”, “Per Call Authentication” and “Encryption”, which are all part of the standard DECT protocol.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

726 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