Hi!
Anyone knows how can I get the names os the System Local Printers from the Registry?
I also need to know which printer (local or Net) is the default.
Thanks a lot, it will be a great help!
Printable View
Hi!
Anyone knows how can I get the names os the System Local Printers from the Registry?
I also need to know which printer (local or Net) is the default.
Thanks a lot, it will be a great help!
Not from the registry, but the printer object can tell you a lot.
Code:Private Sub Command1_Click()
Dim p As Printer
For Each p In Printers
Debug.Print p.DeviceName
Next
Debug.Print "Defaultprinter = " & Printer.DeviceName
End Sub