Home All Groups Group Topic Archive Search About
Author
28 Mar 2006 5:09 PM
mcnewsxp
how to set default printer using vb.net?

tia,
mcnewsxp

Author
28 Mar 2006 6:46 PM
mcnewsxp
' Specify the name of the printer to use.
pd.PrinterSettings.PrinterName = MyPrinter

does not permanently change it.

Show quoteHide quote
"Cerebrus" <zorg***@sify.com> wrote in message
news:1143567008.229569.24550@v46g2000cwv.googlegroups.com...
> Hi,
>
> See this post :
>
> <http://groups.google.com/group/microsoft.public.dotnet.languages.vb/browse_thread/thread/762d53cdefe7e1e9?hl=en>
>
> HTH,
>
> Regards,
>
> Cerebrus.
>
Author
29 Mar 2006 6:15 AM
Cerebrus
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 :

http://emoreau.s2i.com/

Regards,

Cerebrus.