Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing in Windows 2K
Message
From
20/01/2001 12:26:55
 
 
To
20/01/2001 08:32:50
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00466149
Message ID:
00466188
Views:
10
>I just switched to Windows 2K from Win98 and can't find out how to print to a network printer using FoxPro 2x running in a command prompt window. I can no longer capture a network printer as lpt1:. What am I missing here?

You can capture output to a LPT1 port designated to a network printer; but under FPDOS at least, you need to shell to DOS and issue a NET USE, eg:

RUN NET USE LPT1: \\MyPrinterServer\MyPrintQueue /PERSISTENT:NO
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform