I wrote the below in Excel XP to make sure there is a printer installed.
Code:
Sub testforprinter()
b$ = ActivePrinter
If b$ = "unknown printer (check your Control Panel)" Then
MsgBox ("You need to have a printer installed on your pc. Go to 'Printers & Faxes' and connect to your local printer")
End
End If
End Sub
I don't know if it's possible to check that the printer is actually switched on.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.