Printing Via An Opos Driver - TransAct POSjet 1500 Programmer's Manual

Transact posjet 1500: software guide
Hide thumbs Also See for POSjet 1500:
Table of Contents

Advertisement

Programmer' s Guide
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
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
Nov-07
®
POSjet
1500
®
OPOS drivers for detailed information on all the function calls
Rev M
Codes and Commands
Page 77

Advertisement

Table of Contents
loading

Table of Contents