VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   1170
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   2805
   LinkTopic       =   "Form1"
   ScaleHeight     =   1170
   ScaleWidth      =   2805
   StartUpPosition =   3  'Windows ±βΊ»°ͺ
   Begin VB.CommandButton cmdFeeding 
      Caption         =   "Print Test"
      Height          =   735
      Left            =   240
      TabIndex        =   0
      Top             =   240
      Width           =   2415
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdFeeding_Click()
    Printer.Font.Size = 8.5
    Printer.FontName = "FontA1x1"
    For i = 1 To 200
        Printer.Print i & " Print Test"
    Next

    Printer.EndDoc
End Sub

Private Sub Form_Load()
    For Each prnPrinter In Printers
       If (prnPrinter.DeviceName = "SEWOO LK-P11 Receipt") Then
           Set Printer = prnPrinter
           Exit For
       End If
    Next
    
    If (Printer.DeviceName <> "SEWOO LK-P11 Receipt") Then
        MsgBox "SEWOO LK-P11 Receipt Driver not installed", vbOKOnly
    End
    End If
End Sub

