4 replies
by msathappan
You should set the collate property in the PrintDocument object as in the below code.
It is a read only property in the PrintDialog PrinterSettings class.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
PrintDocument1.PrinterSettings.Collate = True
PrintDocument1.PrinterSettings.Copies = 2
PrintDialog1.PrinterSettings = _
PrintDocument1.DefaultPageSettings.PrinterSettings
If PrintDialog1.ShowDialog() = DialogResult.OK Then _
PrintDocument1.Print()
End Sub
by soundbomber
by soundbomber
by soundbomber
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending