Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DOS> NET USE question
Message
From
18/08/2005 23:15:28
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Environment versions
Visual FoxPro:
FoxPro Dos
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01042160
Message ID:
01042161
Views:
25
>One of my clients has a ethernet-connected printer. Instead of \\computer_name\share_name_of_printer it is shown as 192.168.1.105_9100
>
>When I do a NET USE LPT1 192.168.1.105_9100 at the DOS prompt, it returns an error: "System error 66 has occured. The network resource type is not correct." Is this connection possible, or does the printer have to be connected to the server or a workstation and then shared?

While I don't know exactly what is going on, the printer name starts to look as an IP address, but 192.168.1.105_9100 is not a valid IP address. Perhaps it is a combination of an IP address and a port; in which case, it would usually be written as 192.168.1.105:9100 (with a colon instead of an underscore).
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform