Advertisement

01.14.2005 at 01:25PM PST, ID: 21275196
[x]
Attachment Details

How to print to any printer from a VB.Net Windows application

Asked by onyak in Microsoft Visual Basic.Net

Tags: printer

I've looked everywhere and have found nothing.  I need to give my users the ability to select the printer they always want to print to while using the application.  I found code to get the printers.....

Dim objPrint As New System.Drawing.Printing.PrinterSettings()

 Dim strItem As String
 Dim strPrinters As String
 For Each strItem In objPrint.InstalledPrinters
   strPrinters &= strItem & vbCrLf
 Next


Now I just need to know how to use the value. How do I print a document with the name of a printer?

ThanksStart Free Trial
[+][-]01.14.2005 at 02:45PM PST, ID: 13049842

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.14.2005 at 06:00PM PST, ID: 13050893

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.14.2005 at 06:51PM PST, ID: 13051110

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.15.2005 at 05:18AM PST, ID: 13052864

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.15.2005 at 07:35AM PST, ID: 13053285

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.15.2005 at 07:38AM PST, ID: 13053298

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.15.2005 at 07:41AM PST, ID: 13053311

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.15.2005 at 07:51AM PST, ID: 13053347

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Microsoft Visual Basic.Net
Tags: printer
Sign Up Now!
Solution Provided By: emoreau
Participating Experts: 5
Solution Grade: A
 
 
[+][-]01.15.2005 at 07:58AM PST, ID: 13053370

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]01.15.2005 at 08:25AM PST, ID: 13053455

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.21.2005 at 07:31PM PDT, ID: 14933757

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32