|
-
Jan 27th, 2003, 06:18 AM
#1
Thread Starter
Addicted Member
How to catch users selection of the printer quality settings?
For setting a printer I am using such code:
' Sets a printer and number of copies to be printed
Private Function SetPrinter() As Boolean
SetPrinter = True
Dim PrintDialog1 As New PrintDialog()
PrintDialog1.Document = PrintDocument1
PrintDialog1.AllowPrintToFile = False
PrintDialog1.AllowSomePages = False
Dim result As DialogResult = PrintDialog1.ShowDialog()
If (result = DialogResult.OK) Then
strPrinterName = PrintDialog1.PrinterSettings.PrinterName
shtNumberOfCopies = PrintDialog1.PrinterSettings.Copies
Else
SetPrinter = False
End If
End Function
From a dialog it is possible to set the quality of printing (draft, normal, …), but I cannot find, how to read the users selection (if he selected) the quality.
-
Jan 27th, 2003, 07:42 AM
#2
Registered User
You can get all the properties set by the user like this I guess (haven't tried it myself)....
Code:
PrintDocument1.PrinterSettings = PrintDialog1.PrinterSettings
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|