Programmer's Guide
POSjet
®
1500
Codes and Commands
Nov-07
Rev M
Page 77
Printer.Print "$20.00"
Printer.Print ""
Printer.Font.Bold = True
'CHANGE COLOR
Printer.ForeColor = RGB(255, 0, 0)
LinePos = Printer.CurrentY
Printer.CurrentX = 1000
Printer.Print "Change Due"
Printer.CurrentX = 2900
Printer.CurrentY = LinePos
Printer.Print "$2.69"
Printer.ForeColor = RGB(0, 0, 0)
Printer.Font.Bold = False
Printer.Print ""
Printer.Print ""
Printer.EndDoc
Printing via an OPOS driver
There are 3 Modes of printing.
1.
Synchronous mode, printing is done before the print function returns.
2.
Asynchronous mode, print function returns as soon as it can, printing may or may not be done yet.
3.
Transaction mode buffers all print data and the print data is sent all at once.
See the documentation that comes with the Ithaca
®
OPOS drivers for detailed information on all the function calls
that can be made via the OPOS drivers.
OPOS drivers are first “Opened”, “Claimed” and “Enabled” before they can be used. This is typically done when the
application starts (Form Load in VB).
CallResult = Printer1.Open("SeriesAutoDetect")
Printer1.Claim (6000)
Printer1.DeviceEnabled = True
Then the device is used (i.e. printing is done)
Dim Data As String
‘SET NUMBER OF CHARACTERS PER LINE
Printer1.RecLineChars = 33
Summary of Contents for POSJET 1500
Page 1: ...PROGRAMMER S GUIDE POSjet 1500 PN 20 03398 Rev M Nov 2007...
Page 14: ......