Using vb6 how to set printer by using printer name?

Date: Tue-Apr-11-2017-
Response
0
Simply loop for printer name and if found set it by name as follow

'use code to set printer by name
Dim Y As Printer'For Each Y In Printers
For Each Y In Printers
 If Y.DeviceName = Combo1 Then
     Set Printer = Y
    Exit For
 End If
Next


[d] By: firmest
Date: Tue-Apr-11-2017
Response
What is 1 + 100

Just Updated::