Changing default printer

G

Guest

How can I change by program the default printer in VB.net if I have two
printers connected in one computer?
I want to print diferents reports in diferents printers connected in one
computer and I want to change the default printer depending of the report.

Please help us.
Rigoberto
 
G

Guest

I'm not sure if this helps:

Add a pagesetup dialog to your form

Private Sub MenuItem18_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MenuItem18.Click
'page setup
PageSetupDialog1.Document = PrintDocument2
PageSetupDialog1.Document.DefaultPageSettings.Color = False
PageSetupDialog1.Document.DefaultPageSettings.Landscape = True
PageSetupDialog1.ShowNetwork = True
PageSetupDialog1.PrinterSettings.PrinterName = "Acrobat PDFWriter"
PageSetupDialog1.ShowDialog()
End Sub
 
G

Guest

Mr MVP,

Why did you point the user to that page when the bottom Microsoft article is
in VB 6 & you aren't prepared to convert it to VB.NET?

On last question: Will you put my name forward for the MVP program, as I
have been programming for 25 years in Assembly, C, C++, a little HTML/ASP, VB
3 - VB.NET & a little C#? 99.9% (18 hours a day approx.) of my time spent
coding in VB.NET.
 
H

Herfried K. Wagner [MVP]

Crouchie1998 said:

My name is Herfried.
Why did you point the user to that page when the bottom Microsoft article
is
in VB 6 & you aren't prepared to convert it to VB.NET?

Even MVP's days only have 24 hours.
On last question: Will you put my name forward for the MVP program, as I
have been programming for 25 years in Assembly, C, C++, a little HTML/ASP,
VB
3 - VB.NET & a little C#? 99.9% (18 hours a day approx.) of my time spent
coding in VB.NET.

For being awarded as an MVP, it does not matter how many hours a day one
spends using a certain product or how many "languages" one speaks.

How do I become an MVP?
<URL:http://mvps.org/about/mvp.html>

More information on the MVP program:

<URL:http://mvp.support.microsoft.com/>
 
G

Guest

I have read those articles & have also e-mailed the webmaster some time ago.
See below:

Thank you for interest in the Microsoft Most Valuable Professional (MVP)
Program.
MVPs are a diverse group of individuals from around the world who have two
things in common – expertise in one or more of Microsoft’s products or
technology areas, and a willingness to share their knowledge and their
experiences with others.
If you would you like to be considered, please send us the following
information:
First Name, Last Name
Email address, and/or online alias
Product or Technology of expertise:
Where we can find you, or your nominee (e.g. newsgroup, web site, message
board, book, magazine, school, conference, etc.)
Mail the above information to (e-mail address removed)
Kindest Regards,
MVP Global Administrator
(e-mail address removed)

I spend around 18 hours a day either programming or programming/answering
questions in the forums & have done since 1997. So, I think I am in it for
the long haul, don't you?
 
H

Herfried K. Wagner [MVP]

Crouchie,

Crouchie1998 said:
I spend around 18 hours a day either programming or programming/answering
questions in the forums & have done since 1997. So, I think I am in it for
the long haul, don't you?

I am not able to decide who is awarded and who not. From my own experience,
I can only tell you that it took more than a half year of very active
participation in Microsoft public newsgroups until I was awarded.
Nevertheless, there is no guarantee that somebody is awarded at all, and
when he/she is awarded. MVP ist nothing for people who "want to be MVP",
it's a side-effect of regular and voluntary participation and willingness to
help/share.

So, if you want to become an MVP, post to the groups or other communities
monitored by Microsoft so that Microsoft Support Engineers etc. will become
aware of you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top