Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
To capture way of net of the printer.
Message
 
To
17/05/2004 15:32:31
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00904570
Message ID:
00904690
Views:
11
>Hi Barbara,
>
>What i want is to capture the way of net of the my chosen printer . if getprinter() return me "\\lazaro\hp-printer" the problem is solve, but nor always getprinter() return me this way .
>Sometimes it return "IP_100.132.1.10" or "Terminal Clinte 001',"Terminal Clinte 002',"Terminal Clinte 003', etc, etc....
>
>Thanks.
>
>Lázaro Santos.

That's called a UNC name (UNC stands for "Universal Naming Convention"). There's an API called WNetGetConnection that might give you what you're looking for.
Previous
Reply
Map
View

Click here to load this message in the networking platform