Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Arbitrary DOS printing behaviour across networks
Message
From
08/03/2004 18:17:43
 
 
To
26/02/2004 16:18:40
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00879251
Message ID:
00884271
Views:
23
I just run it from the batch file which runs the DOS app. Rather than have it persistent I delete it first and reinitialise it each time. That way we seem to get fewer problems with the print spooler.

Thanks

>>>You can run a command like the following from a command prompt (or login script, .CMD file, whatever) to redirect DOS LPT port(s) to network print queues:
NET USE LPT1 \\ServerName\QueueName /persistent:y
>>
>>
>>
>>isn't that just for Novell? If not, its the one thing I haven't tried...
>
>No, I don't mean to run this from the VFP Command Window (although according to David it might work). Run it from a Windows command window ("DOS prompt") or execute a .CMD or .BAT via VFP RUN.
>
>There should also be an API call that does the same thing e.g. WNetAddConnection2: http://www.news2news.com/vfp/?group=89&function=597
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform