• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2292
  • Last Modified:

redirect LPT1 to file from NT4 dos box

Does anyone know how I can redirect my LPT1 port to a file. I have tried using the printer configuration to port FILE:, which works fine for Windows apps, but not for DOS. The CAPTURE CR=F:\FRED.TXT under Novel 4 does not appear to want to work either. So? Help! Is there some special combination / patch / setting that I am missing? Any suggestions would be very much appreciated! Thank You!
0
dermotm
Asked:
dermotm
1 Solution
 
dragonfireCommented:
There may be other ways of doing it but this works on my system:
1. Setup a FILE: printer as normal and share it
2. 'Map' lpt1 to it, either using the GUI or 'net use lpt1: \\thismachine\filesharename'

You will now get a query for the filename when there is a print.
(Note that if you use a different print server than the machine you are printing from, the filename query will appear on the server!)
0
 
dermotmAuthor Commented:
Works Perfectly!
0

Featured Post

Industry Leaders: 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!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now