Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Arbitrary DOS printing behaviour across networks
Message
From
26/02/2004 16:18:40
 
 
To
26/02/2004 12:01:06
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00879251
Message ID:
00881254
Views:
25
>>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
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform