Solved

Getting an error after printer is added to logon script

Posted on 2008-10-07
3
223 Views
Last Modified: 2012-08-13
Hey Experts!!
I just purchased a new HP P4010 Printer and installed it on the server via the Server Management MMC.  Afterwards, I added it to the script and tested it on my machine.  Everything came up ok.  When my other users came in this morning they said there was an error saying that the operation could not be completed.  
Once again, this works on 2 PC's (the server and mine) but no one else's.  Everyone is running XP Pro SP2

I added this printer and others via a logon script using the code below.  
What is wrong?
Is it because the driver is only present on my machine and the server?

*******UPDATE********
Switched the driver to the Universal PCL 5 instead, because that's what the other HP's on my network use......still nothing. So then I switched back the driver to the PCL 6 driver.  
RunDll32.exe printui.dll,PrintUIEntry /in /y /n \\ATIDC\HP4010

Open in new window

0
Comment
Question by:LZ1
  • 2
3 Comments
 
LVL 1

Expert Comment

by:Eidron1980
ID: 22662067
You must install drivers first. This is done using the /ia command.
See http://support.microsoft.com/kb/189105
0
 
LVL 30

Author Comment

by:LZ1
ID: 22662685
So it is basically finding the path of the drivers on the server, then throwing them into the same line?  
I didn't have to do this for the other printers, is there a reason I have to do it for this one?
0
 
LVL 30

Accepted Solution

by:
LZ1 earned 0 total points
ID: 22663679
Solved
I had spelled the printer name wrong.   I'm sure we've all been there
RunDll32.exe printui.dll,PrintUIEntry /in /y /n \\ATIDC\HPP4010
INSTEAD OF:
RunDll32.exe printui.dll,PrintUIEntry /in /y /n \\ATIDC\HP4010  
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

When you receive another warning that your shared drive is almost full and you have asked your users to clean out old files again and again, here is a single command that may help. This command will place all the files that have not been used rec…
This article was inspired by a question here at Experts Exchange (http://www.experts-exchange.com/Software/Photos_Graphics/Images_and_Photos/Q_28629170.html). The requirements stated in that question are (1) reduce the file size of a large number of…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

911 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now