thanks
Main Topics
Browse All TopicsThe Printer is a HP 4100 series and I'm using a HP jetdirect 170x print server. The network is windows 2000 with AD.
I currently have a login script mapping drives at login.
Is there anyway to script it so when the user logins it maps to the network printer? Not to a shared printer off a local computer.
I know this works for adding printer off a local machine
RUNDLL32 PRINTUI.DLL,PrintUIEntry /dn /n\\COMPUTERNAME\PRINTERNA
RUNDLL32 PRINTUI.DLL,PrintUIEntry /in /n\\COMPUTERNAME\PRINTERNA
<--- This actually works
net use lpt1: /delete
net use lpt1: \\COMPUTERNAME\PRINTERNAME
<-- This didn't do anything
I'd prefer to have peer-to-peer printing, instead of client-server printing. Just in case there are server problems, so printing will still be available.
I know how to manually setup the computer to connect directly to the jetdirect and printer. So it works without any servers.
Add local port PRINTERNAME Protocol rawport Port Number 9100 then add HP LaserJet 4100 PCL 6. Then it’s done.
Can this be scripted? Cause I don’t feel like doing this on 45 machines.
Has anyone run into a similar problem? If so which way did you end up configuring it?
Thanks,
Ben,
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: CerixusPosted on 2003-10-28 at 14:22:14ID: 9637483
I actually just did this last night at my brothers company. We ended up using con2prt.exe as a login script. con2prt.exe is included in the Zero Administration Kit, you can find it here: http://www.microsoft.com/n tworkstati on/downloa ds/Recomme nded/ Featu red/NTZAK. asp
/tip0400/r h0458.htm
Here's some more info on using con2prt:
http://www.jsiinc.com/SUBA
There are also a couple other EE posts concerning this.