Specifications

EM 220
Rev. 1.00
- 48 -
Mobile Printer
Windows Driver Manual
7. Use of Windows Driver
7-1 Use of Visual Basic
This section explains the use of the Windows Driver with Visual Basic to control the printer
(EM 220).
Sample programs are saved together if the Windows Driver is installed.
7-1-1 Windows Driver Selection
The following code is an example of the selection of the “Zebra EM 220” Windows Driver:
For Each prnPrinter In Printers
If prnPrinter.DeviceName = “Zebra EM 220” Then
Set Printer = prnPrinter
Exit For
End If
Next