1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Adding a printer automatically

Discussion in 'Other PC Software' started by trizza, 2003/10/23.

Thread Status:
Not open for further replies.
  1. 2003/10/23
    trizza

    trizza Inactive Thread Starter

    Joined:
    2003/10/23
    Messages:
    1
    Likes Received:
    0
    I need to find a way to add a new printer to the user's system automatically when they install my program. I am able to do this in Windows XP/2k by using the shell command:

    rundll32 printui.dll,PrintUIEntry /if /b "VirtualPrinter" /f ".\lj456p5.inf" /q /r "FILE:" /m "HP Laserjet 5" /z /u

    I also need to be able to do this in 95/98/Me/NT, but this command is not suppored in these OSs. Does anyone know of another program or script that can be used to accomplish this same task? Thanks!
     
  2. 2003/10/24
    Steve R Jones

    Steve R Jones SuperGeek Staff

    Joined:
    2001/12/30
    Messages:
    12,317
    Likes Received:
    252
    Welcome to WindowsBBS:)

    One "guess" would be to try rundll without the 32.
     

  3. to hide this advert.

Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.