Install windows printer driver automatically

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Steve

    #1

    Install windows printer driver automatically

    Hi All

    I have a Windows forms POS program and have windows xp printer drivers for
    the Posiflex printers the customers use

    Is it possible to automatically install a windows printer driver (and
    configure it) during a VB.net 2005 deployment project i.e within a custom
    action?

    If so some code examples would be appreciated

    Regards
    Steve


  • Newbie Coder

    #2
    Re: Install windows printer driver automatically

    Steve,

    A few months ago Terry asked the same question

    If you look back over this newsgroup then you'll see the answer

    --
    Newbie Coder
    (It's just a name)

    "Steve" <ga630sf@newsgr oups.nospamwrot e in message
    news:%232AjV7yf HHA.596@TK2MSFT NGP05.phx.gbl.. .
    Hi All
    >
    I have a Windows forms POS program and have windows xp printer drivers for
    the Posiflex printers the customers use
    >
    Is it possible to automatically install a windows printer driver (and
    configure it) during a VB.net 2005 deployment project i.e within a custom
    action?
    >
    If so some code examples would be appreciated
    >
    Regards
    Steve
    >
    >

    Comment

    • Steven Cheng[MSFT]

      #3
      Re: Install windows printer driver automatically

      Hi Steve,

      For the print driver, do you have an existing encapsulated setup package or
      already got the detailed commandline execution syntax to do so? If you
      have an existing package, you can programmaticall y launch the package in
      custom action (commandline execution...). You can try posting in some
      windows platform related newsgroup about detailed synatx of install printer
      driver.

      Here is a web article I've found introducing install printer driver
      programmaticall y:

      #Installing a Printer Driver programmaticall y - sort of - using PrintUi.dll


      Hope this helps.

      Sincerely,

      Steven Cheng

      Microsoft MSDN Online Support Lead



      =============== =============== =============== =====

      Get notification to my posts through email? Please refer to
      http://msdn.microsoft.com/subscripti...ult.aspx#notif
      ications.



      Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
      where an initial response from the community or a Microsoft Support
      Engineer within 1 business day is acceptable. Please note that each follow
      up response may take approximately 2 business days as the support
      professional working with you may need further investigation to reach the
      most efficient resolution. The offering is not appropriate for situations
      that require urgent, real-time or phone-based interactions or complex
      project analysis and dump analysis issues. Issues of this nature are best
      handled working with a dedicated Microsoft Support Engineer by contacting
      Microsoft Customer Support Services (CSS) at
      http://msdn.microsoft.com/subscripti...t/default.aspx.

      =============== =============== =============== =====



      This posting is provided "AS IS" with no warranties, and confers no rights.









      Comment

      • Steve

        #4
        Re: Install windows printer driver automatically

        Hi Steven

        I don't have either a setup package yet or the commandline execution

        Thanks for the links and info

        Just what I needed

        Regards
        Steve

        "Steven Cheng[MSFT]" <stcheng@online .microsoft.comw rote in message
        news:0o$fDF%23f HHA.4368@TK2MSF TNGHUB02.phx.gb l...
        Hi Steve,
        >
        For the print driver, do you have an existing encapsulated setup package
        or
        already got the detailed commandline execution syntax to do so? If you
        have an existing package, you can programmaticall y launch the package in
        custom action (commandline execution...). You can try posting in some
        windows platform related newsgroup about detailed synatx of install
        printer
        driver.
        >
        Here is a web article I've found introducing install printer driver
        programmaticall y:
        >
        #Installing a Printer Driver programmaticall y - sort of - using
        PrintUi.dll

        >
        Hope this helps.
        >
        Sincerely,
        >
        Steven Cheng
        >
        Microsoft MSDN Online Support Lead
        >
        >
        >
        =============== =============== =============== =====
        >
        Get notification to my posts through email? Please refer to
        http://msdn.microsoft.com/subscripti...ult.aspx#notif
        ications.
        >
        >
        >
        Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
        where an initial response from the community or a Microsoft Support
        Engineer within 1 business day is acceptable. Please note that each follow
        up response may take approximately 2 business days as the support
        professional working with you may need further investigation to reach the
        most efficient resolution. The offering is not appropriate for situations
        that require urgent, real-time or phone-based interactions or complex
        project analysis and dump analysis issues. Issues of this nature are best
        handled working with a dedicated Microsoft Support Engineer by contacting
        Microsoft Customer Support Services (CSS) at
        http://msdn.microsoft.com/subscripti...t/default.aspx.
        >
        =============== =============== =============== =====
        >
        >
        >
        This posting is provided "AS IS" with no warranties, and confers no
        rights.
        >
        >
        >
        >
        >
        >
        >
        >
        >

        Comment

        Working...