Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 171
  • Last Modified:

Printer Existence?

is there an API call to check for the existence of a print driver?
0
tylerd
Asked:
tylerd
  • 2
1 Solution
 
sruelCommented:
I don't know for API but you can try with the VB object called "Printer" by checking at "Printer.DeviceName".

0
 
mcriderCommented:
This will list the valid printer drivers and printers to the debug window:


Dim x As Printer
For Each x In Printers
    Debug.Print "Driver: " & x.DriverName & "    Printer:" & x.DeviceName
Next


Cheers!
0
 
mcriderCommented:
Thanks for the points! Glad I could help!


Cheers!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now