Question : How do I find the names of all printers installed on a computer?

In my code, I can print to the default printer or select from an array of printers. However, I have to select from a list I can not know. How do I inventory the number of printers installed on a computer. Then select from those the one I would like?

Answer : How do I find the names of all printers installed on a computer?

Hello, here is a useful and simple method to get your list of printers, at least in Access 2003 or later (availability in earlier versions can apparently vary):

For Each myPrinter In Application.Printers
      ' Put code here to add myPrinter.DeviceName to your ListBox or whatever you are using..
Next
Random Solutions  
 
programming4us programming4us