VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "BIXOLON"
   ClientHeight    =   1335
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   2910
   LinkTopic       =   "Form1"
   ScaleHeight     =   1335
   ScaleWidth      =   2910
   StartUpPosition =   3  'Windows Default
   Begin VB.CommandButton ReceiptBt 
      Caption         =   "Receipt Print"
      Height          =   855
      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 ReceiptBt_Click()
For Each prnPrinter In Printers
        If prnPrinter.DeviceName = "BIXOLON SRP-350plus" Then
            Set Printer = prnPrinter
            Exit For
        End If
    Next

Printer.Font.Size = 9.5
Printer.FontName = "FontControl"
Printer.Print "x"

Printer.Font.Size = 19
Printer.FontName = "FontA2x2"
Printer.Print ""
Printer.Font.Bold = True
Printer.Print "BIXOLON's Printer" + vbCrLf
Printer.Font.Bold = False

Printer.Font.Size = 9.5
Printer.FontName = "FontA1x1"
Printer.Print "Buy Online or call" + vbCrLf

Printer.Font.Size = 7
Printer.FontName = "FontB2x1"
Printer.Font.Bold = True
Printer.Print "1-800-915-3355"
Printer.Font.Bold = False

Printer.Font.Size = 9.5
Printer.FontName = "FontControl"
Printer.Print "w"

Printer.Font.Size = 9.5
Printer.FontName = "FontA1x1"
Printer.Print "------------------------------------------"  'LF

Printer.Print "BIXOLON SRP-350 Printer               $999"
Printer.Print "SRP-770 Label Printer                 $749"
Printer.Print "SRP-370 Thermal Receipt Printer     $1,299"
Printer.Print "SRP-275 Impact Receipt Printer      $1,299"
Printer.Print "RIF-BT10                              $949"
Printer.Print "SMP600                                $349"
Printer.Print "SRP-500 Inkjet Receipt Printer        $249"
Printer.Print "------------------------------------------"
Printer.Font.Bold = True
Printer.ForeColor = RGB(255, 0, 0)
Printer.Font.Size = 7
Printer.FontName = "FontB2x1"
Printer.Print "Total purchase :      $5,893" + vbCrLf
Printer.Print "Visa :                $5,893" + vbCrLf
Printer.Font.Bold = True
Printer.Print "Change :                  $0"
Printer.ForeColor = RGB(0, 0, 0)
Printer.Font.Bold = False
Printer.Font.Size = 9.5
Printer.FontName = "FontA1x1"
Printer.Print "------------------------------------------"
Printer.Font.Size = 9.5
Printer.FontName = "FontControl"
Printer.Print "x"
Printer.Font.Size = 9.5
Printer.FontName = "FontControl"
Printer.Print "r"
Printer.Font.Size = 20
Printer.FontName = "Code128"
Printer.Print "{A{S12235884584645" '+ vbCrLf

Printer.Font.Size = 9.5
Printer.FontName = "FontA1x1"
Printer.Print "Date : 04/08/2003     Time : 09:32"
Printer.Print "No : 00018857302" + vbCrLf + vbCrLf
Printer.Print "FREE 2nd Bay Interface "
Printer.Print "With Purchase of ANY Dimension Desktop"
Printer.Print "Ends Today !" + vbCrLf 'LF

Printer.Font.Size = 9.5
Printer.FontName = "FontControl"
Printer.Print "P"

Dim pic As Picture

Set pic = LoadPicture(App.Path & "\cafeblue208.bmp")
Printer.CurrentX = 10
Printer.CurrentY = 7000
Printer.PaintPicture pic, Printer.CurrentX, Printer.CurrentY
'Printer.CurrentY = Printer.CurrentY + pic.Height

'Printer.Print "g"

Printer.EndDoc
End Sub
