i have a printing class in vb.net .
when i print the document as shown in screen it shows a message like
these.." printing document...." but the problem is that , if when we press a
key accidently when showing these message the system will got stuck.
can i avoid these message,
i use these class for a bill print , the values from the grid view .
i just write my printing code here
Dim pd1 As PrintDialog = New PrintDialog Dim WithEvents printdoc As PrintDocument pd1.AllowPrintToFile = True pd1.PrinterSettings = New PrinterSettings Me.printdoc = New PrintDocument Me.printdoc.Print()
printdoc is my printing class and design of the bill