Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Redirect output from lpt1 to file via code...
Message
From
17/10/2002 14:14:38
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Redirect output from lpt1 to file via code...
Miscellaneous
Thread ID:
00712480
Message ID:
00712480
Views:
45
Hi,

I need to be able to redirect at will data that is sent to a printer on lpt1
to a file instead, and after doing so be able to end this redirection so that the next output goes out on lpt1 as usual. DOS had a "prn2file" that could do this but I need to be able to do this in a windows 9x environment via some windows API or other. If possible, I´d also like to be able to do this via coding so that the end user doesn´t need to install a new application nor install/or swith manually to a generic/text only printer, etc....
Any suggestions?
Thanks in advance for your help.
Next
Reply
Map
View

Click here to load this message in the networking platform