Computing.Net > Forums > Windows NT > automaticall map a networked printer

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

automaticall map a networked printer

Reply to Message Icon

Name: Scott
Date: August 4, 2000 at 10:57:32 Pacific
Comment:

I'm trying to write a batch file that will automatically map a printer that is networked with its own ip address. Is this right?
net use: "printers port name"\\"print server"\"printer share name"
Somethings missing, because it doesn't work. I want to put this batch file in a login script so everytime someone logs in, this printer automatically adds/maps itself to the Pc. Thanks!



Sponsored Link
Ads by Google

Response Number 1
Name: T
Date: August 5, 2000 at 18:12:27 Pacific
Reply:

The command should be:

net use LPT1: \\\

If user is using a local printer then instead of LPT1: then use LPT2:

luck to ya


0

Response Number 2
Name: T
Date: August 5, 2000 at 18:31:55 Pacific
Reply:

Sorry about that it didn't come out right. The command should look like, net use LPT1: \\server name\share name. Just place the file with the command in startup. If you did this and it doesn't work then I would suggest checking the server to see if the printer is still active and prints. Also make sure that the user who is logging on has rights to the printer.


0

Response Number 3
Name: ngphat
Date: August 7, 2000 at 16:11:17 Pacific
Reply:

What if the workstation has not yet installed the driver of network printer or has the older version of driver?
Thanks and best regards,
ngphat


0

Response Number 4
Name: munny
Date: August 11, 2000 at 07:25:35 Pacific
Reply:

the workstation doesn't need the driver, only the server


0

Response Number 5
Name: Dave
Date: August 13, 2000 at 10:40:37 Pacific
Reply:

FWIW, the syntax in the original post was only partially incorrect. IF there are spaces in the server's name (and only if), you would need to encase it in quotes, starting with the \\. Ex:

net use: LPT1 "\\da server"\myprinter

I wrestled with this one myself. ;-)


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows NT Forum Home


Sponsored links

Ads by Google


Results for: automaticall map a networked printer

install and map to network printer www.computing.net/answers/windows-nt/install-and-map-to-network-printer/22652.html

Capturing a Network Printer www.computing.net/answers/windows-nt/capturing-a-network-printer-/3532.html

Can't map a network drive. www.computing.net/answers/windows-nt/cant-map-a-network-drive/12042.html