Can i set margins if so then please tell me how?
I am using this code but pagesetup dilog does not effect the print.
With PageSetupDialog1
.PageSettings = PrintDocument1.DefaultPageSettings
End With
If PageSetupDialog1.ShowDialog = DialogResult.OK Then
PrintDocument1.DefaultPageSettings = PageSetupDialog1.PageSettings
PrintForm1.Print()