Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

automating the installation of a printer...

Posted on 2004-09-24
6
Medium Priority
?
289 Views
Last Modified: 2010-04-14
....i have about 100 printers to install to different users but thesame printer. The printer is on our printer server and all i have to do is install it on lpt3 using and hp driver and the proper name. This is on a win2k workstations.


MCR
0
Comment
Question by:mrochac
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 76

Assisted Solution

by:David Lee
David Lee earned 600 total points
ID: 12145034
You can do it with a login script.  Read this for details.

http://support.microsoft.com/default.aspx?scid=kb;en-us;189105
0
 
LVL 17

Assisted Solution

by:Eagle6990
Eagle6990 earned 600 total points
ID: 12146545
Or are you trying to add a default printer to a machine for any user who logs in?

http://support.microsoft.com/default.aspx?scid=kb;en-us;252388
0
 
LVL 85

Accepted Solution

by:
oBdA earned 800 total points
ID: 12150257
Am I reading you correctly that you have about a hundred users, you have a print server configured that has the driver for your HP printer, and you want to assign this printer to your users (sorry, but "iinstalling 100 printers to different users but the same printer" doesn't make much sense in my eyes.)
If you have a print server already (assuming it's running W2k), then take advantage of it, instead of installing the drivers locally to a redirected LPT port; it makes management easier for you. You can even map depending on group membership, if necessary. Simply use the logon script and con2prt.exe (still works fine on XP).
Example:

====8<----[logon.cmd]----
@echo off
:: *** Delete all mapped printers:
con2prt.exe /f
:: *** Map the printers according to group membership:
ifmember.exe YourDomain\Printer01Group
if not errorlevel 1 goto EndPrinter01Group
con2prt.exe /c \\PrintServer\Printer01
:EndPrinter01Group

ifmember.exe YourDomain\Printer02Group
if not errorlevel 1 goto EndPrinter02Group
con2prt.exe /c \\PrintServer\Printer02
:EndPrinter02Group
====8<----[logon.cmd]----

How to Use Con2prt.exe to Connect to a Network Printer
http://support.microsoft.com/?kbid=181663

Zero Administration Kit
http://www.microsoft.com/ntworkstation/downloads/Recommended/Featured/NTZAK.asp

Resource Kits Free Tool Downloads: Ifmember.exe
http://www.microsoft.com/windows2000/techinfo/reskit/tools/new/ifmember-o.asp
0
Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

 
LVL 1

Author Comment

by:mrochac
ID: 12159416
(((oBdA)))

The reason i need to install this way is because these users will be connecting to another computer using terminal service, with this software the only way they can print is by mapping the lpt3 port to their default printer. It was a procedure given to me by the software company.

MCR
0
 
LVL 1

Author Comment

by:mrochac
ID: 12279887
These users have different printers, i am trying to avoid walking around installing the printers. i may have to use something that will find out what the printer installed is and then re-install the printer back but using a diff port. Is this possible.

MCR
0
 
LVL 1

Author Comment

by:mrochac
ID: 12401328
I'm still not able to find out what the default printer is but there was alot of good help provided for me, i will devide the points evenly.

Thanks.

MCR
0

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
One of the most important things in an application is the query performance. This article intends to give you good tips to improve the performance of your queries.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question