Solved

Getting an error after printer is added to logon script

Posted on 2008-10-07
3
229 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
[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
  • 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

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

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

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…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
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…

724 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