Home All Groups Group Topic Archive Search About

Mapping Networked Printers Using Command Prompt

Author
29 Sep 2006 2:23 PM
Tristan Martin
Dear All,

My name is Tristan and I am the IT Assistant for the company I work for. We
have currently just moved a printer to a new location and is being shared by
a computer. What i wish to do is create a batch program that the users are
able to simply run once and it maps the printer in windows so the users can
print to it if need be.

I have tried using Net Use, but i have had not much luck.
Can anyone help?

Author
29 Sep 2006 2:35 PM
Chuck
On Fri, 29 Sep 2006 07:23:03 -0700, Tristan Martin
<TristanMar***@discussions.microsoft.com> wrote:

>Dear All,
>
>My name is Tristan and I am the IT Assistant for the company I work for. We
>have currently just moved a printer to a new location and is being shared by
>a computer. What i wish to do is create a batch program that the users are
>able to simply run once and it maps the printer in windows so the users can
>print to it if need be.
>
>I have tried using Net Use, but i have had not much luck.
>Can anyone help?

Tristan,

We'll try to help, but the more detail that you can provide about the problem
the better.  What is "not much luck"?
<http://nitecruzr.blogspot.com/2005/06/background-information-useful-in.html>
http://nitecruzr.blogspot.com/2005/06/background-information-useful-in.html

--
Cheers,
Chuck, MS-MVP [Windows - Networking]
http://nitecruzr.blogspot.com/
Paranoia is not a problem, when it's a normal response from experience.
My        email         is          AT         DOT
   actual       address    pchuck       mvps        org.
Author
29 Sep 2006 2:39 PM
Tristan Martin
basically the printer is connected to a computer called LCC. the share name
is DellAIO8 and i have entered the following into command prompt with the
following results:
net use \\lcc\DellAIO8 - this completes but in printers & Faxes the printer
is not
                                  displayed
net use LTP1 \\lccDellAIO8 - This says it cannot find the resource.

is there any way to get the network printer mapped and for it to be
displayed in printers and faxes?

Show quoteHide quote
"Chuck" wrote:

> On Fri, 29 Sep 2006 07:23:03 -0700, Tristan Martin
> <TristanMar***@discussions.microsoft.com> wrote:
>
> >Dear All,
> >
> >My name is Tristan and I am the IT Assistant for the company I work for. We
> >have currently just moved a printer to a new location and is being shared by
> >a computer. What i wish to do is create a batch program that the users are
> >able to simply run once and it maps the printer in windows so the users can
> >print to it if need be.
> >
> >I have tried using Net Use, but i have had not much luck.
> >Can anyone help?
>
> Tristan,
>
> We'll try to help, but the more detail that you can provide about the problem
> the better.  What is "not much luck"?
> <http://nitecruzr.blogspot.com/2005/06/background-information-useful-in.html>
> http://nitecruzr.blogspot.com/2005/06/background-information-useful-in.html
>
> --
> Cheers,
> Chuck, MS-MVP [Windows - Networking]
> http://nitecruzr.blogspot.com/
> Paranoia is not a problem, when it's a normal response from experience.
> My        email         is          AT         DOT
>    actual       address    pchuck       mvps        org.
>
Author
29 Sep 2006 3:10 PM
Chuck
On Fri, 29 Sep 2006 07:39:01 -0700, Tristan Martin
<TristanMar***@discussions.microsoft.com> wrote:

Show quoteHide quote
>"Chuck" wrote:
>
>> On Fri, 29 Sep 2006 07:23:03 -0700, Tristan Martin
>> <TristanMar***@discussions.microsoft.com> wrote:
>>
>> >Dear All,
>> >
>> >My name is Tristan and I am the IT Assistant for the company I work for. We
>> >have currently just moved a printer to a new location and is being shared by
>> >a computer. What i wish to do is create a batch program that the users are
>> >able to simply run once and it maps the printer in windows so the users can
>> >print to it if need be.
>> >
>> >I have tried using Net Use, but i have had not much luck.
>> >Can anyone help?
>>
>> Tristan,
>>
>> We'll try to help, but the more detail that you can provide about the problem
>> the better.  What is "not much luck"?
>> <http://nitecruzr.blogspot.com/2005/06/background-information-useful-in.html>
>> http://nitecruzr.blogspot.com/2005/06/background-information-useful-in.html

>basically the printer is connected to a computer called LCC. the share name
>is DellAIO8 and i have entered the following into command prompt with the
>following results:
>net use \\lcc\DellAIO8 - this completes but in printers & Faxes the printer
>is not
>                                  displayed
>net use LTP1 \\lccDellAIO8 - This says it cannot find the resource.
>
>is there any way to get the network printer mapped and for it to be
>displayed in printers and faxes?

Well, "net use \\lcc\DellAIO8" is the right syntax.  Are there any resources on
server LCC other than the printer?  Do any others show up?

There are a lot of reasons why you might not see a resource in Printers and
Faxes (which is a subset of My Network Places).  I wrote a structured problem
resolution article:
<http://nitecruzr.blogspot.com/2005/05/troubleshooting-network-neighborhood.html>
http://nitecruzr.blogspot.com/2005/05/troubleshooting-network-neighborhood.html

And since this may take a few discussions, you'd help both of us if you could
answer below my responses:
<http://nitecruzr.blogspot.com/2005/05/how-to-post-on-usenet-and-encourage.html#TopPosting>
http://nitecruzr.blogspot.com/2005/05/how-to-post-on-usenet-and-encourage.html#TopPosting

--
Cheers,
Chuck, MS-MVP [Windows - Networking]
http://nitecruzr.blogspot.com/
Paranoia is not a problem, when it's a normal response from experience.
My        email         is          AT         DOT
   actual       address    pchuck       mvps        org.
Author
29 Sep 2006 3:13 PM
Tristan Martin
There is only one shared printer on this workstation. and as i said earlier,
that syntax works, but printers and faxes does not show the printer.

Thanks

Show quoteHide quote
"Chuck" wrote:

> On Fri, 29 Sep 2006 07:39:01 -0700, Tristan Martin
> <TristanMar***@discussions.microsoft.com> wrote:
>
> >"Chuck" wrote:
> >
> >> On Fri, 29 Sep 2006 07:23:03 -0700, Tristan Martin
> >> <TristanMar***@discussions.microsoft.com> wrote:
> >>
> >> >Dear All,
> >> >
> >> >My name is Tristan and I am the IT Assistant for the company I work for. We
> >> >have currently just moved a printer to a new location and is being shared by
> >> >a computer. What i wish to do is create a batch program that the users are
> >> >able to simply run once and it maps the printer in windows so the users can
> >> >print to it if need be.
> >> >
> >> >I have tried using Net Use, but i have had not much luck.
> >> >Can anyone help?
> >>
> >> Tristan,
> >>
> >> We'll try to help, but the more detail that you can provide about the problem
> >> the better.  What is "not much luck"?
> >> <http://nitecruzr.blogspot.com/2005/06/background-information-useful-in.html>
> >> http://nitecruzr.blogspot.com/2005/06/background-information-useful-in.html
>
> >basically the printer is connected to a computer called LCC. the share name
> >is DellAIO8 and i have entered the following into command prompt with the
> >following results:
> >net use \\lcc\DellAIO8 - this completes but in printers & Faxes the printer
> >is not
> >                                  displayed
> >net use LTP1 \\lccDellAIO8 - This says it cannot find the resource.
> >
> >is there any way to get the network printer mapped and for it to be
> >displayed in printers and faxes?
>
> Well, "net use \\lcc\DellAIO8" is the right syntax.  Are there any resources on
> server LCC other than the printer?  Do any others show up?
>
> There are a lot of reasons why you might not see a resource in Printers and
> Faxes (which is a subset of My Network Places).  I wrote a structured problem
> resolution article:
> <http://nitecruzr.blogspot.com/2005/05/troubleshooting-network-neighborhood.html>
> http://nitecruzr.blogspot.com/2005/05/troubleshooting-network-neighborhood.html
>
> And since this may take a few discussions, you'd help both of us if you could
> answer below my responses:
> <http://nitecruzr.blogspot.com/2005/05/how-to-post-on-usenet-and-encourage.html#TopPosting>
> http://nitecruzr.blogspot.com/2005/05/how-to-post-on-usenet-and-encourage.html#TopPosting
>
> --
> Cheers,
> Chuck, MS-MVP [Windows - Networking]
> http://nitecruzr.blogspot.com/
> Paranoia is not a problem, when it's a normal response from experience.
> My        email         is          AT         DOT
>    actual       address    pchuck       mvps        org.
>
Author
29 Sep 2006 3:59 PM
Chuck
On Fri, 29 Sep 2006 08:13:02 -0700, Tristan Martin
<TristanMar***@discussions.microsoft.com> wrote:

Show quoteHide quote
>"Chuck" wrote:
>
>> On Fri, 29 Sep 2006 07:39:01 -0700, Tristan Martin
>> <TristanMar***@discussions.microsoft.com> wrote:
>>
>> >"Chuck" wrote:
>> >
>> >> On Fri, 29 Sep 2006 07:23:03 -0700, Tristan Martin
>> >> <TristanMar***@discussions.microsoft.com> wrote:
>> >>
>> >> >Dear All,
>> >> >
>> >> >My name is Tristan and I am the IT Assistant for the company I work for. We
>> >> >have currently just moved a printer to a new location and is being shared by
>> >> >a computer. What i wish to do is create a batch program that the users are
>> >> >able to simply run once and it maps the printer in windows so the users can
>> >> >print to it if need be.
>> >> >
>> >> >I have tried using Net Use, but i have had not much luck.
>> >> >Can anyone help?
>> >>
>> >> Tristan,
>> >>
>> >> We'll try to help, but the more detail that you can provide about the problem
>> >> the better.  What is "not much luck"?
>> >> <http://nitecruzr.blogspot.com/2005/06/background-information-useful-in.html>
>> >> http://nitecruzr.blogspot.com/2005/06/background-information-useful-in.html
>>
>> >basically the printer is connected to a computer called LCC. the share name
>> >is DellAIO8 and i have entered the following into command prompt with the
>> >following results:
>> >net use \\lcc\DellAIO8 - this completes but in printers & Faxes the printer
>> >is not
>> >                                  displayed
>> >net use LTP1 \\lccDellAIO8 - This says it cannot find the resource.
>> >
>> >is there any way to get the network printer mapped and for it to be
>> >displayed in printers and faxes?
>>
>> Well, "net use \\lcc\DellAIO8" is the right syntax.  Are there any resources on
>> server LCC other than the printer?  Do any others show up?
>>
>> There are a lot of reasons why you might not see a resource in Printers and
>> Faxes (which is a subset of My Network Places).  I wrote a structured problem
>> resolution article:
>> <http://nitecruzr.blogspot.com/2005/05/troubleshooting-network-neighborhood.html>
>> http://nitecruzr.blogspot.com/2005/05/troubleshooting-network-neighborhood.html
>>
>> And since this may take a few discussions, you'd help both of us if you could
>> answer below my responses:
>> <http://nitecruzr.blogspot.com/2005/05/how-to-post-on-usenet-and-encourage.html#TopPosting>
>> http://nitecruzr.blogspot.com/2005/05/how-to-post-on-usenet-and-encourage.html#TopPosting

>There is only one shared printer on this workstation. and as i said earlier,
>that syntax works, but printers and faxes does not show the printer.

Well, as I said earlier, there are a lot of reasons why you may have this
problem.  I'll help you, if you want to work with me.  And the first step is to
check the network and file sharing setup.
<http://nitecruzr.blogspot.com/2005/05/troubleshooting-network-neighborhood.html>
http://nitecruzr.blogspot.com/2005/05/troubleshooting-network-neighborhood.html

If you had another share, maybe a file share, on that server, it would be easier
to diagnose.  Since this is the only share, it will be just a bit tougher.

And since this may take a few discussions, you'd help both of us if you could
answer below my responses:
<http://nitecruzr.blogspot.com/2005/05/how-to-post-on-usenet-and-encourage.html#TopPosting>
http://nitecruzr.blogspot.com/2005/05/how-to-post-on-usenet-and-encourage.html#TopPosting

--
Cheers,
Chuck, MS-MVP [Windows - Networking]
http://nitecruzr.blogspot.com/
Paranoia is not a problem, when it's a normal response from experience.
My        email         is          AT         DOT
   actual       address    pchuck       mvps        org.
Author
2 Oct 2006 9:38 AM
Tristan Martin
ut i have found out how to do it now. thank you!

Show quoteHide quote
"Chuck" wrote:

> On Fri, 29 Sep 2006 08:13:02 -0700, Tristan Martin
> <TristanMar***@discussions.microsoft.com> wrote:
>
> >"Chuck" wrote:
> >
> >> On Fri, 29 Sep 2006 07:39:01 -0700, Tristan Martin
> >> <TristanMar***@discussions.microsoft.com> wrote:
> >>
> >> >"Chuck" wrote:
> >> >
> >> >> On Fri, 29 Sep 2006 07:23:03 -0700, Tristan Martin
> >> >> <TristanMar***@discussions.microsoft.com> wrote:
> >> >>
> >> >> >Dear All,
> >> >> >
> >> >> >My name is Tristan and I am the IT Assistant for the company I work for. We
> >> >> >have currently just moved a printer to a new location and is being shared by
> >> >> >a computer. What i wish to do is create a batch program that the users are
> >> >> >able to simply run once and it maps the printer in windows so the users can
> >> >> >print to it if need be.
> >> >> >
> >> >> >I have tried using Net Use, but i have had not much luck.
> >> >> >Can anyone help?
> >> >>
> >> >> Tristan,
> >> >>
> >> >> We'll try to help, but the more detail that you can provide about the problem
> >> >> the better.  What is "not much luck"?
> >> >> <http://nitecruzr.blogspot.com/2005/06/background-information-useful-in.html>
> >> >> http://nitecruzr.blogspot.com/2005/06/background-information-useful-in.html
> >>
> >> >basically the printer is connected to a computer called LCC. the share name
> >> >is DellAIO8 and i have entered the following into command prompt with the
> >> >following results:
> >> >net use \\lcc\DellAIO8 - this completes but in printers & Faxes the printer
> >> >is not
> >> >                                  displayed
> >> >net use LTP1 \\lccDellAIO8 - This says it cannot find the resource.
> >> >
> >> >is there any way to get the network printer mapped and for it to be
> >> >displayed in printers and faxes?
> >>
> >> Well, "net use \\lcc\DellAIO8" is the right syntax.  Are there any resources on
> >> server LCC other than the printer?  Do any others show up?
> >>
> >> There are a lot of reasons why you might not see a resource in Printers and
> >> Faxes (which is a subset of My Network Places).  I wrote a structured problem
> >> resolution article:
> >> <http://nitecruzr.blogspot.com/2005/05/troubleshooting-network-neighborhood.html>
> >> http://nitecruzr.blogspot.com/2005/05/troubleshooting-network-neighborhood.html
> >>
> >> And since this may take a few discussions, you'd help both of us if you could
> >> answer below my responses:
> >> <http://nitecruzr.blogspot.com/2005/05/how-to-post-on-usenet-and-encourage.html#TopPosting>
> >> http://nitecruzr.blogspot.com/2005/05/how-to-post-on-usenet-and-encourage.html#TopPosting
>
> >There is only one shared printer on this workstation. and as i said earlier,
> >that syntax works, but printers and faxes does not show the printer.
>
> Well, as I said earlier, there are a lot of reasons why you may have this
> problem.  I'll help you, if you want to work with me.  And the first step is to
> check the network and file sharing setup.
> <http://nitecruzr.blogspot.com/2005/05/troubleshooting-network-neighborhood.html>
> http://nitecruzr.blogspot.com/2005/05/troubleshooting-network-neighborhood.html
>
> If you had another share, maybe a file share, on that server, it would be easier
> to diagnose.  Since this is the only share, it will be just a bit tougher.
>
> And since this may take a few discussions, you'd help both of us if you could
> answer below my responses:
> <http://nitecruzr.blogspot.com/2005/05/how-to-post-on-usenet-and-encourage.html#TopPosting>
> http://nitecruzr.blogspot.com/2005/05/how-to-post-on-usenet-and-encourage.html#TopPosting
>
> --
> Cheers,
> Chuck, MS-MVP [Windows - Networking]
> http://nitecruzr.blogspot.com/
> Paranoia is not a problem, when it's a normal response from experience.
> My        email         is          AT         DOT
>    actual       address    pchuck       mvps        org.
>
Thank you very much for all the help that you have given m
Author
2 Oct 2006 3:51 PM
Tristan Martin
Show quote Hide quote
"Tristan Martin" wrote:

> There is only one shared printer on this workstation. and as i said earlier,
> that syntax works, but printers and faxes does not show the printer.
>
> Thanks
>
> "Chuck" wrote:
>
> > On Fri, 29 Sep 2006 07:39:01 -0700, Tristan Martin
> > <TristanMar***@discussions.microsoft.com> wrote:
> >
> > >"Chuck" wrote:
> > >
> > >> On Fri, 29 Sep 2006 07:23:03 -0700, Tristan Martin
> > >> <TristanMar***@discussions.microsoft.com> wrote:
> > >>
> > >> >Dear All,
> > >> >
> > >> >My name is Tristan and I am the IT Assistant for the company I work for. We
> > >> >have currently just moved a printer to a new location and is being shared by
> > >> >a computer. What i wish to do is create a batch program that the users are
> > >> >able to simply run once and it maps the printer in windows so the users can
> > >> >print to it if need be.
> > >> >
> > >> >I have tried using Net Use, but i have had not much luck.
> > >> >Can anyone help?
> > >>
> > >> Tristan,
> > >>
> > >> We'll try to help, but the more detail that you can provide about the problem
> > >> the better.  What is "not much luck"?
> > >> <http://nitecruzr.blogspot.com/2005/06/background-information-useful-in.html>
> > >> http://nitecruzr.blogspot.com/2005/06/background-information-useful-in.html
> >
> > >basically the printer is connected to a computer called LCC. the share name
> > >is DellAIO8 and i have entered the following into command prompt with the
> > >following results:
> > >net use \\lcc\DellAIO8 - this completes but in printers & Faxes the printer
> > >is not
> > >                                  displayed
> > >net use LTP1 \\lccDellAIO8 - This says it cannot find the resource.
> > >
> > >is there any way to get the network printer mapped and for it to be
> > >displayed in printers and faxes?
> >
> > Well, "net use \\lcc\DellAIO8" is the right syntax.  Are there any resources on
> > server LCC other than the printer?  Do any others show up?
> >
> > There are a lot of reasons why you might not see a resource in Printers and
> > Faxes (which is a subset of My Network Places).  I wrote a structured problem
> > resolution article:
> > <http://nitecruzr.blogspot.com/2005/05/troubleshooting-network-neighborhood.html>
> > http://nitecruzr.blogspot.com/2005/05/troubleshooting-network-neighborhood.html
> >
> > And since this may take a few discussions, you'd help both of us if you could
> > answer below my responses:
> > <http://nitecruzr.blogspot.com/2005/05/how-to-post-on-usenet-and-encourage.html#TopPosting>
> > http://nitecruzr.blogspot.com/2005/05/how-to-post-on-usenet-and-encourage.html#TopPosting
> >
> > --
> > Cheers,
> > Chuck, MS-MVP [Windows - Networking]
> > http://nitecruzr.blogspot.com/
> > Paranoia is not a problem, when it's a normal response from experience.
> > My        email         is          AT         DOT
> >    actual       address    pchuck       mvps        org.
> >

I have had a look at the script that you suggested on the Knowledge Base and
have had a go but fail every time. if i give you the details could you give
me the command line code that is needed?

Thanks
Author
29 Sep 2006 4:59 PM
Lanwench [MVP - Exchange]
Show quote Hide quote
"Tristan Martin" <TristanMar***@discussions.microsoft.com> wrote in message
news:50F0A90B-8204-427A-9D19-D9712BFD0290@microsoft.com...
> Dear All,
>
> My name is Tristan and I am the IT Assistant for the company I work for.
> We
> have currently just moved a printer to a new location and is being shared
> by
> a computer.

>  What i wish to do is create a batch program that the users are
> able to simply run once and it maps the printer in windows so the users
> can
> print to it if need be.
>
> I have tried using Net Use, but i have had not much luck.
> Can anyone help?

Don't use net use, unless you want to map the printer to an LPT port.....and
in that case, you'd use net use lpt1: \\server\printershare anyway.

Check out
Adding a network printer for all Users:
http://members.shaw.ca/bsanders/NetPrinterAllUsers.htm

and perhaps also

How to add printers with no user interaction in Windows XP:
http://support.microsoft.com/kb/314486/

and
Author
2 Oct 2006 8:25 AM
Tristan Martin
Dear Member,

I have tried the syntax you suggested to map it to Ltp1 and it says that the
network path is not found. any other ideas?

Show quoteHide quote
"Lanwench [MVP - Exchange]" wrote:

>
> "Tristan Martin" <TristanMar***@discussions.microsoft.com> wrote in message
> news:50F0A90B-8204-427A-9D19-D9712BFD0290@microsoft.com...
> > Dear All,
> >
> > My name is Tristan and I am the IT Assistant for the company I work for.
> > We
> > have currently just moved a printer to a new location and is being shared
> > by
> > a computer.
>
> >  What i wish to do is create a batch program that the users are
> > able to simply run once and it maps the printer in windows so the users
> > can
> > print to it if need be.
> >
> > I have tried using Net Use, but i have had not much luck.
> > Can anyone help?
>
> Don't use net use, unless you want to map the printer to an LPT port.....and
> in that case, you'd use net use lpt1: \\server\printershare anyway.
>
> Check out
> Adding a network printer for all Users:
> http://members.shaw.ca/bsanders/NetPrinterAllUsers.htm
>
> and perhaps also
>
> How to add printers with no user interaction in Windows XP:
> http://support.microsoft.com/kb/314486/
>
> and
>
>
>
Author
2 Oct 2006 1:31 PM
Lanwench [MVP - Exchange]
In news:73ADB703-07D0-4AE9-A289-E117EA588DA1@microsoft.com,
Tristan Martin <TristanMar***@discussions.microsoft.com> typed:
> Dear Member,

I don't have a membership card. I applied, but I think I've been
blackballed. I just hang out in here anyway, even though I don't know the
secret handshake.

>
> I have tried the syntax you suggested to map it to Ltp1 and it says
> that the network path is not found. any other ideas?

Can you go to \\servername and see the shared printer, in Windows Explorer?
Why use LPT1 anyway? Did you see my other suggestion? It would be a lot
better.



Show quoteHide quote
>
> "Lanwench [MVP - Exchange]" wrote:
>
>>
>> "Tristan Martin" <TristanMar***@discussions.microsoft.com> wrote in
>> message news:50F0A90B-8204-427A-9D19-D9712BFD0290@microsoft.com...
>>> Dear All,
>>>
>>> My name is Tristan and I am the IT Assistant for the company I work
>>> for. We
>>> have currently just moved a printer to a new location and is being
>>> shared by
>>> a computer.
>>
>>>  What i wish to do is create a batch program that the users are
>>> able to simply run once and it maps the printer in windows so the
>>> users can
>>> print to it if need be.
>>>
>>> I have tried using Net Use, but i have had not much luck.
>>> Can anyone help?
>>
>> Don't use net use, unless you want to map the printer to an LPT
>> port.....and in that case, you'd use net use lpt1:
>> \\server\printershare anyway.
>>
>> Check out
>> Adding a network printer for all Users:
>> http://members.shaw.ca/bsanders/NetPrinterAllUsers.htm
>>
>> and perhaps also
>>
>> How to add printers with no user interaction in Windows XP:
>> http://support.microsoft.com/kb/314486/
>>
>> and