I use Visual Basic 8.0 and Windows 7 Prof. and Deskjet 720c
To print a document i use PrintDocument component
I want to Check status of local printer
My problem is, if de printer if offline of not connected every print job is then automatically sent to the print spooler of Deskjet 720c.
I try to use Try Catch, But this does not work I get no error message
Try PrintDocument1.Print() Catch ex As Exception 'catch printing exception MessageBox.Show("Sorry--there is a problem printing", ex.ToString()) Finally beep End Try
Who can help me with this?