- mapping LPT1 to network printer
- Posted by Andy Siegel on November 22nd, 2005
I have successfully mapped the LPT1 port to a network printer using the Net
Use command (persistent:yes) and it works great for me. My users, however,
don't have local administrative rights and it doesn't work for them. Is
there a way to map map that printer so that it's mapped for all users,
regardless of their local permissions, or is there a way to do this without
making them an administrator?
Thank you,
Andy Siegel
Dover, DE
- Posted by Steven L Umbach on November 23rd, 2005
Hi Andy.
Sometimes scripts that don't work as a logon script will work as a Group
Policy "startup" script that runs in the context of the system account. You
also might want to check the Windows Scripting Center for vbs scripts that
often need little modification to work in your environment such as changing
computer name or unc path. See the links below for some examples. You just
need to copy the examples to notepad, make any changes and save with a .vbs
extension. You may also need to use cscript first to use the script if the
script name alone will not work as in "cscript c:\scripts\myscript.vbs". ---
Steve
http://www.microsoft.com/technet/scr.../prclvb01.mspx
http://www.microsoft.com/technet/scr...5/hey0113.mspx
http://msdn.microsoft.com/library/de...runcscript.asp
"Andy Siegel" <AndySiegel@discussions.microsoft.com> wrote in message
news:9D9D4440-0623-4534-9ADE-6AC4EA0EE48F@microsoft.com...
>I have successfully mapped the LPT1 port to a network printer using the Net
> Use command (persistent:yes) and it works great for me. My users,
> however,
> don't have local administrative rights and it doesn't work for them. Is
> there a way to map map that printer so that it's mapped for all users,
> regardless of their local permissions, or is there a way to do this
> without
> making them an administrator?
>
> Thank you,
>
> Andy Siegel
> Dover, DE
- Posted by Colin Nash [MVP] on November 23rd, 2005
"Andy Siegel" <AndySiegel@discussions.microsoft.com> wrote in message
news:9D9D4440-0623-4534-9ADE-6AC4EA0EE48F@microsoft.com...
>I have successfully mapped the LPT1 port to a network printer using the Net
> Use command (persistent:yes) and it works great for me. My users,
> however,
> don't have local administrative rights and it doesn't work for them. Is
> there a way to map map that printer so that it's mapped for all users,
> regardless of their local permissions, or is there a way to do this
> without
> making them an administrator?
>
> Thank you,
>
> Andy Siegel
> Dover, DE
Usually mapping LPT1 to a printer port is only needed for compatibility with
old apps. Is this the case?
If not, the common way to do this is to set up a print server (usually
running Server version of Windows) and create TCP/IP ports that point to
the IP addresses of the printers. Create printers on this server (using
these TCP/IP ports) and then share these printers. Clients then print
through these shares (\\servername\sharename), and do not need local admin
permissions on their workstations. Also centralizes printer management and
spooling. You can also map the share for all users of a computer:
http://members.shaw.ca/bsanders/NetPrinterAllUsers.htm
--
Colin Nash
Microsoft MVP
Windows Shell/User
- Posted by Andy Siegel on November 23rd, 2005
I'm so sorry I forgot this one little important fact. I'm trying to print
from a DOS based program that has to use LPT1. I wish it were this easy.
Andy
"Steven L Umbach" wrote:
> Hi Andy.
>
> Sometimes scripts that don't work as a logon script will work as a Group
> Policy "startup" script that runs in the context of the system account. You
> also might want to check the Windows Scripting Center for vbs scripts that
> often need little modification to work in your environment such as changing
> computer name or unc path. See the links below for some examples. You just
> need to copy the examples to notepad, make any changes and save with a .vbs
> extension. You may also need to use cscript first to use the script if the
> script name alone will not work as in "cscript c:\scripts\myscript.vbs". ---
> Steve
>
> http://www.microsoft.com/technet/scr.../prclvb01.mspx
> http://www.microsoft.com/technet/scr...5/hey0113.mspx
> http://msdn.microsoft.com/library/de...runcscript.asp
>
> "Andy Siegel" <AndySiegel@discussions.microsoft.com> wrote in message
> news:9D9D4440-0623-4534-9ADE-6AC4EA0EE48F@microsoft.com...
> >I have successfully mapped the LPT1 port to a network printer using the Net
> > Use command (persistent:yes) and it works great for me. My users,
> > however,
> > don't have local administrative rights and it doesn't work for them. Is
> > there a way to map map that printer so that it's mapped for all users,
> > regardless of their local permissions, or is there a way to do this
> > without
> > making them an administrator?
> >
> > Thank you,
> >
> > Andy Siegel
> > Dover, DE
>
>
>
- Posted by Andy Siegel on November 23rd, 2005
I'm so sorry I forgot this one little important fact. I'm trying to print
from a DOS based program that has to use LPT1. I wish it were this easy.
Andy
"Colin Nash [MVP]" wrote:
>
> "Andy Siegel" <AndySiegel@discussions.microsoft.com> wrote in message
> news:9D9D4440-0623-4534-9ADE-6AC4EA0EE48F@microsoft.com...
> >I have successfully mapped the LPT1 port to a network printer using the Net
> > Use command (persistent:yes) and it works great for me. My users,
> > however,
> > don't have local administrative rights and it doesn't work for them. Is
> > there a way to map map that printer so that it's mapped for all users,
> > regardless of their local permissions, or is there a way to do this
> > without
> > making them an administrator?
> >
> > Thank you,
> >
> > Andy Siegel
> > Dover, DE
>
> Usually mapping LPT1 to a printer port is only needed for compatibility with
> old apps. Is this the case?
>
> If not, the common way to do this is to set up a print server (usually
> running Server version of Windows) and create TCP/IP ports that point to
> the IP addresses of the printers. Create printers on this server (using
> these TCP/IP ports) and then share these printers. Clients then print
> through these shares (\\servername\sharename), and do not need local admin
> permissions on their workstations. Also centralizes printer management and
> spooling. You can also map the share for all users of a computer:
> http://members.shaw.ca/bsanders/NetPrinterAllUsers.htm
>
>
> --
> Colin Nash
> Microsoft MVP
> Windows Shell/User
>
>
>
- Posted by Colin Nash [MVP] on November 23rd, 2005
"Andy Siegel" <AndySiegel@discussions.microsoft.com> wrote in message
news:0F5C64AC-8EAE-4C78-8555-6054445A8566@microsoft.com...
> I'm so sorry I forgot this one little important fact. I'm trying to print
> from a DOS based program that has to use LPT1. I wish it were this easy.
>
> Andy
>
Have a look here then: http://support.microsoft.com/kb/313644
[I see you've multiposted this in several other newsgroups, which means
you'll get independent answers from different people in different groups who
may not have seen other people's replies. You can avoid this by
crossposting- which keeps your article (and all responses) linked together.
http://www.cs.tut.fi/~jkorpela/usenet/xpost.html]