set default printer

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

    #1

    set default printer

    how to set default printer using vb.net?

    tia,
    mcnewsxp


  • Cerebrus

    #2
    Re: set default printer

    Hi,

    See this post :

    <http://groups.google.c om/group/microsoft.publi c.dotnet.langua ges.vb/browse_thread/thread/762d53cdefe7e1e 9?hl=en>

    HTH,

    Regards,

    Cerebrus.

    Comment

    • mcnewsxp

      #3
      Re: set default printer

      ' Specify the name of the printer to use.
      pd.PrinterSetti ngs.PrinterName = MyPrinter

      does not permanently change it.

      "Cerebrus" <zorg007@sify.c om> wrote in message
      news:1143567008 .229569.24550@v 46g2000cwv.goog legroups.com...[color=blue]
      > Hi,
      >
      > See this post :
      >
      > <http://groups.google.c om/group/microsoft.publi c.dotnet.langua ges.vb/browse_thread/thread/762d53cdefe7e1e 9?hl=en>
      >
      > HTH,
      >
      > Regards,
      >
      > Cerebrus.
      >[/color]


      Comment

      • Cerebrus

        #4
        Re: set default printer

        Hi,

        Did you check out the *whole* thread ? I gave you the link to the
        thread, instead of the answer itself, since it was unclear from your
        question, if you wanted to change the printer permanently, or just
        change it for a temporary printing action.

        Eric Moreau's link will take you to his website where you can open his
        article for March 2005. It details how to change the default printer of
        the system.

        Here's the link again :



        Regards,

        Cerebrus.

        Comment

        Working...