Board index » Visual Studio » Changing default printer
|
Derekszoo
|
|
Derekszoo
|
Changing default printer
Visual Studio50
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 - |
| mark
Registered User |
Sat Jan 29 12:37:04 CST 2005
Re:Changing default printer
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 "rquintana" wrote: QuoteHow can I change by program the default printer in VB.net if I have two |
| Herfried
Registered User |
Sat Jan 29 13:43:46 CST 2005
Re:Changing default printer
"rquintana" <rquintana@discussions.microsoft.com>schrieb:
QuoteI want to print diferents reports in diferents printers connected in one <URL:http://groups.google.de/groups?threadm=%23Cv9v3W%24EHA.208%40TK2MSFTNGP12.phx.gbl" rel="nofollow" target="_blank">groups.google.de/groups> -- M S Herfried K. Wagner M V P <URL:dotnet.mvps.org/>">dotnet.mvps.org/> V B <URL:dotnet.mvps.org/dotnet/faqs/>">dotnet.mvps.org/dotnet/faqs/> - |
| Crouchie1998
Registered User |
Sat Jan 29 19:53:03 CST 2005
Re:Changing default printer
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. "Herfried K. Wagner [MVP]" wrote: Quote"rquintana" <rquintana@discussions.microsoft.com>schrieb: |
| Herfried
Registered User |
Sat Jan 29 20:25:50 CST 2005
Re:Changing default printer
"Crouchie1998" <Crouchie1998@discussions.microsoft.com>schrieb:
QuoteMr MVP, QuoteWhy did you point the user to that page when the bottom Microsoft article QuoteOn last question: Will you put my name forward for the MVP program, as I spends using a certain product or how many "languages" one speaks. How do I become an MVP? <URL:mvps.org/about/mvp.html>">mvps.org/about/mvp.html> More information on the MVP program: <URL:mvp.support.microsoft.com/>">mvp.support.microsoft.com/> -- M S Herfried K. Wagner M V P <URL:dotnet.mvps.org/>">dotnet.mvps.org/> V B <URL:dotnet.mvps.org/dotnet/faqs/>">dotnet.mvps.org/dotnet/faqs/> - |
| Crouchie1998
Registered User |
Sat Jan 29 20:47:03 CST 2005
Re:Changing default printer
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 mvpga@microsoft.com Kindest Regards, MVP Global Administrator mvpga@microsoft.com 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? "Herfried K. Wagner [MVP]" wrote: Quote"Crouchie1998" <Crouchie1998@discussions.microsoft.com>schrieb: |
| Herfried
Registered User |
Sun Jan 30 05:59:09 CST 2005
Re:Changing default printer
Crouchie,
"Crouchie1998" <Crouchie1998@discussions.microsoft.com>schrieb: QuoteI spend around 18 hours a day either programming or programming/answering 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. -- M S Herfried K. Wagner M V P <URL:dotnet.mvps.org/>">dotnet.mvps.org/> V B <URL:dotnet.mvps.org/dotnet/faqs/>">dotnet.mvps.org/dotnet/faqs/> - |
