PC Review


Reply
Thread Tools Rate Thread

HOW DO I OPEN PRINTER DIALOG ?

 
 
pamelafluente@libero.it
Guest
Posts: n/a
 
      30th Oct 2005
In the PrintDialog there is a listbox where the names of printers
are listed and a button to access Properties of the printer currently
selected.

I am doing my own PrintDialog, and have placed there a combo with the
printer names.

My question is: how do I open the windows printer dialog for the
current printer?


Any reply in ANY .NET language (c#,c++,VB,...) will be very helpful!

Thank you!!

-Pamela


My question in code:
---------------------------------------

Private Sub ButtonSelectedPrinterProperties_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
ButtonSelectedPrinterProperties.Click

Me.PrintDocument.PrinterSettings.PrinterName =
Me.ComboBoxPrinterNames.SelectedText
If Not Me.PrintDocument.PrinterSettings.IsValid Then
MsgBox("Invalid printer", MsgBoxStyle.Information)
Exit Sub
End If

Me.OpenPrinterPropertiesDialog(PrintDocument)
End Sub

Sub OpenPrinterPropertiesDialog(ByVal PrintDocument As
PrintDocument)

' ???????? my question: how to open the windows dialog for
PrintDocument.PrinterSettings

End Sub

--------------------------------------------

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Open Add Printer dialog... Ivan Grozney Microsoft Access Form Coding 1 20th May 2010 11:00 PM
URL's open printer dialog box Mike Windows XP General 2 16th May 2006 10:13 AM
How to OPEN native PRINTER DIALOG -- Please HELP !! pamelafluente@libero.it Microsoft VB .NET 15 2nd Nov 2005 12:51 PM
Open printer dialog by default =?Utf-8?B?QnJpYW4=?= Microsoft Access Reports 3 7th Aug 2005 07:09 PM
How to open Print property window of selected printer directly without Print Dialog Box =?Utf-8?B?U2FjaGlu?= Microsoft C# .NET 3 2nd Apr 2004 03:46 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:14 PM.