Solved

Getting an error after printer is added to logon script

Posted on 2008-10-07
3
222 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
Comment Utility
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
Comment Utility
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
Comment Utility
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 Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

I have published numerous articles here at Experts Exchange that present programs/scripts written in a language called AutoHotkey. Each of those articles has a brief paragraph describing where to download the product and how to install it. I have al…
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…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
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…

772 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

16 Experts available now in Live!

Get 1:1 Help Now