This will give me a print preview:
This will let me select a printer:
But, how do I do both?
VB.NET:
Dim dlg As New PrintPreviewDialog()
dlg.Document = PrintDocument1
dlg.ShowDialog()
This will let me select a printer:
VB.NET:
Dim dlg As New PrintDialog()
dlg.Document = PrintDocument1
If dlg.ShowDialog = DialogResult.OK Then
PrintDocument1.Print()
End If
But, how do I do both?
Last edited by a moderator: