Update Printer Driver from a Command Line

Hello,
I have printers that are being deployed through GP.  When the drivers are changed on the print server, they must naturally be changed on each workstation.  When I go to a computer, and right click on the printer, I have the option "Update
Driver".  Is there a way using a command line to update the driver on these computers?  I use rundll32 Printui for other printer installs, but I do not see a command to update a driver.  I cannot delete the printer and re-add it because
it is being deployed through GP. 

Hello,
These did not work for me.  The printer is already installed using GP.  The driver is sitting somewhere on the print server.  When I right click on the printer, I see the command "Update Driver".  I am trying to find out how
to kick off that "Update driver" from a command line.
You might take a look at this:
http://www.theitcommunity.com/wiki/Update_a_driver_on_the_command_line.
Bye.
Luigi Bruno
MCP, MCTS, MOS, MTA

Similar Messages

  • How can I print the test page with the Arabic type from the command line

    Hi,
    I have been trying to make the tool for printing the test page from the command line on the Arabic OS. I used "rundll32 printui dll printuientry" with "/k /n" options. My tool is to print the test page in all OS when pushing the
    button.
    Normally, in the Arabic Windows, the test page is printed with RTL type when printing the test page in the "Devices and Printers". But in my tool, the test page is printed with LTR type. I'm confused because of this result.
    Is it possilbe to print the test page with RTL type when using the "rundll32 printui dll printuientry"? If it is possible, could anyone give me the hint or information for resolving?
    Please check for me.

    Hello,
    Thank you for your post.
    Your issue is out of support range of Test Tools in Visual Studio 2010 and 2012 forum which discusses Visual Studio Test issues.
    I am moving your question to the moderator forum ("Where is the forum for..?"). The owner of the forum will direct you to a right forum.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Format HD from a command line?

    Hi
    I recently installed an update and now when I turn on computer i get the following message "Login Window Starting" and it just hangs. I have tried the fsck process and safe start and neither fix the problem. I don't have the disks to do the Utilities thing. All i want to do is format the hard drive as I am giving the computer away - is there anyway I can do this from the command line or is there any other way of gaining access to the machine?

    Boot the iBook in Target Disk Mode. To do this, depress the T key at startup. Then using a firewire cable, connect the iBook to another Mac. On the other Mac, you should see the icon of the iBook's HD. Then you can use the other Mac's Disk Utility to erase the iBook's HD.
     Cheers, Tom

  • Is it possible to script Firefox to do things from the command line?

    Specifically, I am attempting to print a web page at a specific url from the command line.

    Thanks for the quick reply. I had already seen the page you linked to, but it doesn't have any commands to print a web page. Should I interpret from that absence that there isn't a way to print from Firefox from the command line?

  • Problem with running a java program from the command line

    I have this code:
    package pkg;
    import jxl.*;
    import java.io.File;
    public class TestClass {
         public static void main(String[] args) {
              try{
                   Workbook book = Workbook.getWorkbook(new File("d:/testWorkspace/excFile.xls"));
                   Sheet sheet = book.getSheet(0);
                   String s=sheet.getCell(4, 2).getContents();
                   System.out.println(s);     
              }catch (Exception e){System.err.println(e);}
    }I've wrote it in Eclipse, added jxl.jar to the buildpath, and it works fine.
    Then I tried to run it from the command line and I did it like this:
    D:\testWorkspace\testProject\bin> java -cp \jxl.jar pkg.TestClassThe result was:
    Exception in thread "main" java.lang.NoClassDefFoundError: pkg/TestClass
    Caused by: java.lang.ClassNotFoundException: pkg.TestClass
    ...but the file TestClass.class DOES exist in the folder d:\testWorkspace\testProject\bin\pkg\ and the file jxl.jar IS on the root of drive D (like I already wrote, it worked fine inside the Eclipse).
    So, my question is: How to run this code from the command line?
    I have no idea what went wrong.
    Can someone help me, please?

    The current directory is not implied in the classpath.
    D:\testWorkspace\testProject\bin> java -cp .;d:\ pkg.TestClassor
    D:\testWorkspace\testProject\bin> java -cp .;d:\jxl.jar pkg.TestClassI always forget which is right since I never work with jars...

  • How do I find a printer driver from a vendor's install?

    I have a Brother P-Touch 2700 label maker. I downloaded and installed the OS X 10.5.x printer driver from the Brother site. It came as a .dmg file. The P-Touch Editor installed separately. When started, it claims the driver is not installed. It's not in the list of installed printers either.
    I'm guessing it's not where the Editor expects to find it. How do I find the driver? I've looked in Library>Printers>Brother. To confuse matters, I also have a Brother laser printer.
    The Brother support folks have not yet responded to my question.
    Any help appreciated.
    harv47

    Matt Broughton wrote:
    That seems to be a common error and seems to be mostly associated with HP printers.
    I found any number of people asking about it, for many different makes and models. No one seemed to have a solution, though.
    Try resetting the printing system. See http://docs.info.apple.com/article.html?path=Mac/10.6/en/14001.html
    I notice that item is for 10.6. I'm using 10.5.8. Also, it seems like a drastic solution.
    Try adding the printer when logged in to an administrator's account rather than your standard account.
    I tried that first. I even downloaded new copies of the editor and the printer drivers. But the printer didn't appear in the list. Oops. I just realized I didn't use the shown command suggested earlier, to fix the permissions. Gotta do that.
    Later,
    harv47

  • How I can set my default browser mozilla firefox from the command line in Windows 7?

    I need to set my default browser mozilla firefox from the command line, ie without using the GUI.

    '''-setDefaultBrowser''' is the correct command - you need the two capital letters.
    Why Firefox 17.0.1? You would be missing a number of important security updates. Firefox 17.0.'''9''' is the current ESR release version.

  • Compress/zip files from the command line in Windows 7?

    In Windows 7 is there a native way to compress or zip files from the command line?  I'd like to do it without installing any third-party utilities such as 7Zip.

    I fully agree that Compact is not the answer. There are additional concerns with the Compact command. It enables disk compression which is a total no-no. Very bad! It makes your computer very slow and is quite difficult to undo. The only time anyone should
    use this command is when they're removing disk compression because someone turned it on to save space.  Turning this off has to be done by booting into the recovery console, if my memory serves me correctly, and it's a real nuisance.  So
    definitely no to the Compact command.
    If you wanted to compress files before sending them to another drive, or over a network, or by email, then Compact wouldn't actually help at all because the files have to get uncompressed whenever they're accessed, especially before sending them anywhere. 
    When I say accessed, I mean that just looking at a file triggers the OS to decompress it in the background and present you with an uncompressed version of it then letting you change it and recompressing it again for storage every single time you access the
    file, which is why your machine gets slower.  If you have folders or files that have blue text instead of black, then you've probably already made this mistake.
    I would also like to know if there is a built-in command for zipping files/directories, or, if there isn't such a thing built into Windows, then I would like to know if this is feature is accessible through Visual Studio, which would be just as good as having
    a command-line program for those of us that do a bit of programming.
    If anyone knows if MS provides such a feature, either by command-line or through an API, then I'd love to hear about it.  Good luck to those of you that have disk compression turn on.

  • Starting the nzrView in listen mode from the command line...

    I want to be able to start the nzrViewer in listen mode when I log into windows and then be able to accept an invite for a collaboration session. When I added a shortcut to the "nzrViewer.exe /listen 5550" to my Startup Folder, it launches the Remote Listener just fine, but when I someone invites me to collaborate a Remote Session, I get an error message "Ticket not provided for Rights Authentication."
    I believe that the problem is when I launch the Viewer from the command line, I'm not authenticated to the Zen server, so it can't verify my Rights.
    Does anyone have a better way to do this? Or do I have to log into ZCC and launch the "Remote Management Listener" from there?

    Originally Posted by mcdonalj
    I want to be able to start the nzrViewer in listen mode when I log into windows and then be able to accept an invite for a collaboration session. When I added a shortcut to the "nzrViewer.exe /listen 5550" to my Startup Folder, it launches the Remote Listener just fine, but when I someone invites me to collaborate a Remote Session, I get an error message "Ticket not provided for Rights Authentication."
    I believe that the problem is when I launch the Viewer from the command line, I'm not authenticated to the Zen server, so it can't verify my Rights.
    Does anyone have a better way to do this? Or do I have to log into ZCC and launch the "Remote Management Listener" from there?
    There has been some updates in the documentation for 10.2.2 about remote control from cmd line.
    Check it out, maybe there is a solution to your problem.
    http://www.novell.com/documentation/...a/bcfqcen.html
    http://www.novell.com/documentation/...a/bn8ptx7.html
    Thomas

  • Windows 7 clients need to update printer driver for no reason

    I have a problem with my Windows 7 clients in domain. We have 2012 print server and multiple printers installed on it. I installed a brand new Canon IR printer with a new driver from Canon webpage. After I did that, almost all Windows 7 clients got a warning
    that they need to update driver for printing. Those clients are NOT using the printer I installed, but the other ones (who worked fine until my installation). Is it possible that installing new printer cause other compatible printers to update themselfs???
    Can I avoid it in the future?

    Hi IvanSa83,
    The main issue is that installing a new printer will affect other printers, right?
    Here is a similar symptom and the environment is Windows 7 ,Windows 2003 Server. The OP in this case has resolved this issue by modifying the Group policy called “Point and Print Settings Restrictions”. This policy will influence Windows Vista and the later
    version.
    As the link posted by OP said: When an administrator updates a printer driver on a shared print server, the Point and Print feature automatically updates printer drivers from the print server to a client computer. Some printers may share driver files
    across several printer models or across a family of printers. An update to one of these shared driver files will cause client computers to update the drivers for any device that depends on the updated files.
    Here is the case link :
    Windows 7 client "Driver update required" status when other printers installed / updated on Win Server 2003
    https://social.technet.microsoft.com/Forums/en-US/3c8d8c6f-b216-464d-92b7-ef94838ae36b/windows-7-client-driver-update-required-status-when-other-printers-installed-updated-on-win?forum=winserverprint
    Here is the group policy path: Computer Configuration \Administrator Templates\Printers
    Best regards

  • Is there a way to switch between workspaces in Spaces from the command line?  I want to write a script to set up certain applications in certain workspaces (without having to do it manually each time)...

    Is there a way to switch between workspaces in Spaces from the comnand line?  I use several workspaces from Spaces, each workspace having a certain number of fixed applications running.  Rather than set all this up each time I log on, I'd like to write a script from the command line (I use gawk) to automate this. Currently I have a gawk script that, given a directory, opens a few xterms whose working directory is the given directory, and opens "preview" applied to a certain file in that directory.  However, at present I have to manually move an xterm through each workspace and run my gawk script in each workspace (applied to each directory that I'm working on).
    There must be a better way...

    Addendum: Can this be done via:   open -a Spaces --args xxx  , where xxx is some set of arguments (or something like this)?

  • Help required - running a Java program from the command line

    Hi,
    I have a small non-graphical Java application, packaged into a Jar file. My program relies on classes in another (external) Jar file.
    When I run the application from the IDE, everything works fine. However, when I try to run the application from the command line, I keep getting a NoClassDefFoundError for classes in the external jar.
    Both the application jar file and the external jar file are in my root directory (C:\).
    My command line call is as follows:
    java -cp c:MyExternalLib.jar -jar MyApp.jar
    Any help greatly appreciated.
    Thanks,
    Walter

    hi,
    set classpath=%classpath%;c:\myjar.jar;
    here i have specified myjar.jar file as an example u give ur location.after setting the classpath run ur java application.
    java mypgm
    this will solve ur problem
    regards,
    Ganesh

  • I'm having trouble instaling a printer driver for my Canon MG5220. I downloaded the latest printer driver from the Canon website (10.67.1.0) and installed it on my Intel iMac. It said the installation was sucessful, but when I try to add a printer, no go.

    I'm having trouble instaling a printer driver for my Canon MG5220. I downloaded the latest printer driver from the Canon website (10.67.1.0) and installed it on my Intel iMac. It said the installation was sucessful, but when I try to add a printer, no go. The printer does'nt show up. I'm fairly new to the Mac, after switching from windows. I'm running Snow Leopard 10.6.8.

    Hold down the option key and select
     ▹ System Information...
    from the menu bar. In the window that opens, select
    Hardware ▹ USB
    from the list on the left. On the right you should now see a list of all connected USB devices, as well as some built-in components. Is the device shown?

  • Launching Rescue & Recovery from a Command Line

    Question - I would like to know how I can launch Rescue & Recovery from a command line.
    Issue that is prompting the question -  My laptop was sitting in my computer bag overnight. The battery was fully charged. I BELIEVE that it was in suspend mode at the time. When I opened it in the morning, there was a message on the screen saying that a backup had not completed successfully. I then noticed that the battery had run down completely.
    My Plan - I would like to launch Rescue & Recovery (as well as the Defrag utility) from Windows Task Scheduler. If I do, then all schedule tasks will be launched and controlled using the same process. Windows Task Scheduler also provides two key scheduling criteria that the IBM Rescue & Recoverry or the IBM Maintenance Manager utilities do not provide -
    #1 - Run this task only when the PC is on AC power.
    #2 - Run this task ony when the computer is idle (so that it doesn't slow down the PC if I happen to be working on it)
     Background Concerns -
    - Having a backup job automatically start when the computer is in my computer bag will run down my battery when I least expect it.
    - The PC may could also be damaged due to overheating, since the sides of the computer bag  block the ventilation holes.
    Additional Info
    - If I go to the ThinkVantage Productivity Center and select the Quick Link for "Backup Now" this will indeed launch a backup on demand. I assume that selecting this option is calling a specific executable file.
    - However, the only two applicable executable files that I see in the C:\Program Files\Lenovo\Rescue and Recovery directory are "mr_gui.exe" and "wizrr.exe". Both of these files launch an interface that requires the user to make a selection. As a result, it doesn't look as if either of these files would work for unattended operation, unless there is some sort of switch that I can put in that will automatically start the backup process.
    - I called the support line (only once so far), but that particular rep did not know of any way to launch Rescue & Recovery other than from the standard R&R user interfaces.
     Any help is greatly appreciated,
    Mathew

    The correct way to invoke a JSP is to make a request to the Server.
    Normally you would use your browser to do this.
    On a unix system, you can use the wget command to invoke a url without using a browser.

  • Get the absolute path and filename of the file from the command line

    Hi,
    when we run the class we give the command
    java <filename>
    How can I capture the filename given above and get its absolute path inside the
    public static void main(String [] args){}
    args[0] gives me the command line argument after the filename. How do I capture the filename itself from the command line argument and also get that files absolute path
    Thanks

    I don't know of any way to capture the java command input, but there are ways to find out where the application is being run from. (the "absolute path")
    http://forum.java.sun.com/thread.jsp?forum=31&thread=335394

Maybe you are looking for

  • Is there a way to create an export button on a pdf form that will send form info into ongoing excel spreadsheet?

    I'm trying to see if there is a way to create a submit button on my pdf form that will export the form data into a saved (ongoing) excel spreadsheet. The end result i'm hoping for would be a spreadsheet that lists all the information i receive from e

  • Error message when running updates

    I keep getting an error message when updating my CS programs. "This update from the internet cannot be completed. Please try again later." I bought a Canon 6D and the Adobe Camera Raw won't work because it isn't the latest version and that it needs t

  • How do I adjust brightness in Windows 7 on my 27" iMac?

    After installing all of the Boot Camp support files, I still can't adjust the brightness of my screen when I boot in to Windows 7 Ultimate.  The keyboard seems to work when I try to adjust the brightness, since the adjustment indicator (icons that lo

  • Missing Ringtones Folder in iTunes

    I have a 3 day old iPhone 4. I'm using the RMaker app to create ringtones. It requires the ringtone to be moved to the 'Ringtones' folder in the Library, but I don't have that folder. I also do not have a Ringtones folder in my iPhone (when it is syn

  • Kernel Panic when closing laptop during shut down

    It was the 2nd day I had my MBP and was jsut heading to sleep. I had selected Apple > Shut Down to turn off the comp, and closed the laptop (I put the screen down and whatnot) Few minutes passed, and I still saw the sleep light on for some reason. I