VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "Feeding Test"
   ClientHeight    =   855
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   2280
   LinkTopic       =   "Form1"
   ScaleHeight     =   855
   ScaleWidth      =   2280
   StartUpPosition =   3  'Windows Default
   Begin VB.CommandButton Command1 
      Caption         =   "Print"
      Height          =   615
      Left            =   120
      TabIndex        =   0
      Top             =   120
      Width           =   2055
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()

Printer.Font.Size = 8.5
Printer.FontName = "FontA1x1"
For i = 1 To 200
    Printer.Print "[" + Hex(i) + "]";
    Printer.Print "Print Test"
Next

Printer.EndDoc

End Sub

Private Sub Form_Load()
    For Each prnPrinter In Printers
        If prnPrinter.DeviceName = "BIXOLON SPP-R200" Then
            Set Printer = prnPrinter
            Exit For
        End If
    Next

  If Printer.DeviceName <> "BIXOLON SPP-R200" Then
    MsgBox "BIXOLON SPP-R200 driver not installed", vbOKOnly
    End
  End If
End Sub
