mapping LPT1 to network printer

G

Guest

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
 
S

Steven L Umbach

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/scriptcenter/scripts/printing/client/prclvb01.mspx
http://www.microsoft.com/technet/scriptcenter/resources/qanda/jan05/hey0113.mspx
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/wsruncscript.asp
 
C

Colin Nash [MVP]

Andy Siegel said:
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
 
G

Guest

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
 
G

Guest

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
 
C

Colin Nash [MVP]

Andy Siegel said:
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]
 

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