By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,556 Members | 1,600 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,556 IT Pros & Developers. It's quick & easy.

winforms - change the default printer

P: n/a
Friends,

I need to change the default printer from code, with no
user iterativity. Any sample code? suggestion? C#,VB,
nevermind!.

Thanks
Pablo
Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hello,

"Pablo" <t-******@infocorp.com.uy> schrieb:
I need to change the default printer from code, with no
user iterativity. Any sample code? suggestion? C#,VB,
nevermind!.


A (untested) sample written in C (it will give you an idea on how to change
the default printer):

HOWTO: Retrieve and Set the Default Printer in Windows
http://support.microsoft.com/default...;EN-US;Q246772

--
Herfried K. Wagner
MVP VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #2

P: n/a
Thanks for answering,
Anyway, if u have other suggestion please let me know.
Pablo.
-----Original Message-----
Hello,

"Pablo" <t-******@infocorp.com.uy> schrieb:
I need to change the default printer from code, with no
user iterativity. Any sample code? suggestion? C#,VB,
nevermind!.
A (untested) sample written in C (it will give you an

idea on how to changethe default printer):

HOWTO: Retrieve and Set the Default Printer in Windows
http://support.microsoft.com/default.aspx?scid=kb;EN- US;Q246772
--
Herfried K. Wagner
MVP VB Classic, VB.NET
http://www.mvps.org/dotnet
.

Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.