Using VB6 on a standalone machine, how can I determine if a printer is connected to that machine? (I don't care if it's turned on or not, just if it's there)!
Dim prn As Printer
Debug.Print "you have " & Printers.Count & " printers"
For Each prn In Printers
Debug.Print prn.DeviceName, prn.DriverName
Next prn
Actually, the above will return the number of printer drivers installed, not the number of actual printers. If anyone can show how to find the actual availability of printers using vb6 - and NOT causing an error (timeout in particular), I would very much like to know (I would prefer it includes network printers).
MichaelRed
m.red@att.net
There is never time to do it right but there is always time to do it over
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.