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         =   "Prints Receipt"
      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-332II" Then
            Set Printer = prnPrinter
            Exit For
        End If
    Next
 

Printer.Font.Size = 8.5
Printer.FontName = "FontControl"
Printer.Print "x"                       'Aligns text to the center

Printer.Font.Size = 17
Printer.FontName = "FontA2x2"
Printer.Print "BIXOLON"

Printer.Font.Size = 8.5
Printer.FontName = "FontControl"
Printer.Print "w"                       'Aligns text to the left

Printer.Font.Size = 8.5
Printer.FontName = "FontA2x1"
Printer.Print "BIXOLON's MALL"

Printer.Font.Size = 8.5
Printer.FontName = "FontA1x1"
Printer.Print "Buy Online or call"
Printer.Print ""

Printer.Font.Size = 8.5
Printer.FontName = "FontB2x1"
Printer.Print "1-800-915-3355"

Printer.Font.Size = 8
Printer.FontName = "FontControl"
Printer.Print "w"                       'Aligns text to the left

            
Printer.Font.Size = 8.5
Printer.FontName = "FontA1x1"


Printer.Print "------------------------------------------"
Printer.Print "BIXOLON SRP-330 Printer               $999"
Printer.Print "SRP-770 Label Printer                 $749"
Printer.Print "SRP-370 Thermal Receipt Printer     $1,299"
Printer.Print "SRP-270 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.Print "Total purchase :                    $5,893"
Printer.Print "Visa :                              $5,893"
Printer.Print "------------------------------------------"
            

Printer.Print "Date : 04/08/2003     Time : 09:32"
Printer.Print "No : 00018857302"
Printer.Print ""
Printer.Print ""
Printer.Print "FREE 2nd Bay Interface "
Printer.Print "With Purchase of ANY Dimension Desktop"
Printer.Print "Ends Today !"
            
Printer.Font.Size = 8.5
Printer.FontName = "FontControl"
Printer.Print "x"                       'Aligns text to the center

Printer.Font.Size = 18
Printer.FontName = "Barcode1"
Printer.Print "123456789012" '+ vbCrLf

'Printer.Font.Size = 9
'Printer.FontName = "FontControl"
'Printer.Print "P"                       'Cut Receipt (partial cut)

Printer.EndDoc
End Sub
