Link to home
Start Free TrialLog in
Avatar of naqayya
naqayya

asked on

Use 'net use' command to connect printer

I have a printer that is connected via a parallel port to a PC (Win 2K) on our Windows 2000 network.

I want everyone on the network to be able to use this printer, so I have shared it and given 'Everyone' all permissions for this printer in the security tab.

I have some PCs on the network that are used by more than one person, so they have many profiles on them.

What do I have to do so that whenever ANYONE logs in to ANY PC on the network, they should get connected to this printer and be able to use it?

I have tried using 'Add Printer' on each PC, but if I install the printer using 'Add Printer' it only installs for the profile I am logged in as, not for everyone on that PC. I have tried this as Administrator too, but still everyone on that PC does not get the printer.

I have been told to use the 'net use' command, but don't know how to use it or whether it is the right solution.

Can you help? Thanks.
Avatar of Mirfster
Mirfster
Flag of United States of America image

I have addressed this issue in a couple of other EE postings..

See these for the answers:

https://www.experts-exchange.com/questions/20574713/Map-network-printer-from-Logon-Script.html

and

https://www.experts-exchange.com/questions/20618016/Mapping-printers-in-a-win-2k-domain-with-a-script.html

Way too much suff was typed to "retype"... :)

Mirfster.
Avatar of GrahamOrr
GrahamOrr

Another couple of options.

You can also add the printer as a local printer (tcp/ip port). As it appears to the pc that it is a local printer it will be available in all user profiles on that pc.

I personally use Kixtart in my logon script to map printers, it's pretty simple stuff but does the job nicely. All the info you need is at http://www.kixtart.org
Avatar of naqayya

ASKER

Thanks all.

GrahamOrr: Can you please show me how to add the printer as a local printer (TCP/IP port). I am a bit of a novice at these things.

I want to do this in the simplest and quickest way possible without any 'extra' stuff as far as possible, and this method seems to be pretty simple. Just that I don't know how to do it!

Thanks.
Naqayya:

do following to add as tcp/ip port,

make sure you use static IP address,

-click on addd printer
-select local printer
-unckeck automatic detect printer
- select create new port
-select standard TCP/ip port from drop down
- type Ip address
-click next/ok
- select printer driver or install from cd by using browse
-click ok
-type printer name
-type printer shared name
-next
-finish

thanks,
mak
Run this from either Command Prompt or the Run command line on the computers in question:

rundll32 printui.dll,PrintUIEntry /ga /n\\printserver\printer /j"LanMan Print Services"
Avatar of naqayya

ASKER

Thanks mak.

I don't know which IP address to put in. The printer doesn't have an IP address because it is connected via the parallel port to a PC on the network (see my question). So the printer does not have a network connection.

Do I put in the PCs IP address that the printer is connected to?
Avatar of naqayya

ASKER

Thanks Whiggy.

I tried your solution and checked the Microsoft page too, but I always get the error 'Access denied'.

I have shared the printer and given Everyone all permissions and the drivers are located on a network drive that everyone has access to.

Can you help?
ASKER CERTIFIED SOLUTION
Avatar of Whiggy
Whiggy

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of naqayya

ASKER

Thanks all.

Thanks Whiggy; it worked perfectly!
Avatar of mrcannon
I just used this as well and it seems to work well.  Will this printer be persistent across reboots?  Thank you.