Categories

List all printers

Place a combo box on a form and enter the following code.

Private Sub Form_Load()
Dim printer
For Each printer In Printers
Combo1.AddItem printer.DeviceName
Next
End Sub

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

You must be logged in to post a comment.