Net Use command

C

Cole

When i use the Net Use command to try and connect a
networked printer to a remote workstation i get the
following error in the command window

System error 66 has occurred.

The network resource type is not correct

I was wondering if anyone has seen this and can offer a
solution. Both of the systems use Win XP Home Ed. and the
printer is a HP laserJet 1300. Any help would be
appriciated.
 
T

Tony Edgecombe

You are probably connecting to a shared folder rather than a shared printer.
 
L

_LS_

Thanks
so, where can I get the name of the printer ?
L.S
(e-mail address removed)
(If u reply, pls forward me a copy if possible bcs my ISP usually has NG
out-of-date.)
 
T

Tony Edgecombe

Its whatever you shared the printer as, right click on the printer icon and
select Sharing ...
 
L

_LS_

Thats what I did
And the computer name is on top of the tree in device manager.
So whats wrong ?
Other people wrote me reporting the same problem
:((
--
L.S
(e-mail address removed)
(If u reply, pls forward me a copy if possible bcs my ISP usually has NG
out-of-date.)
 
C

cole

It seems that the trouble was with the net use command
itself. The connection to the shared resourse was somehow
corrupted and not connectimg with the shared printer. The
shared resouse would show up when I used the net view
command.

net view \\<computer name>

but would return the system error 66 when i tried the

net use lpt1 : \\<computer name>\<printer name>

after much banging my head against the desk i came across
some documentation on the net use command, inparticularly
how to close a connection to an lpt port. so i decided to
give that a try before giving up enitrely and going to a
full format and re-install of the OS of both systems.

net use lpt1 /delete

then i was able to connect to the printer as expected
using the net use command and print from the DOS app
across the network. I imagine that on one of the first
attempts with the net use command i made an error and the
connection was somehow left open and not able to
close.anyway, just thought i would update the post just
in case it might save someone some time and effort.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top