beautypg.com

Posprinter activex control (posprinter ocx), Pc hardware – TransAct Technologies ITHERM 280 User Manual

Page 53

background image

Setup Procedures

iTherm

®

280 Programmer’s Guide

28-07764

Rev C

Page 51

POSPrinter ActiveX Control (POSPrinter OCX)


This is not a driver; but rather a software component that provides a connection from an
application to a port driver. This allows an application to communicate “directly” with a
printer. This approach allows an application to send commands to the printer if desired,
similar to the legacy DOS approach once used to communicate with a POS printer.



























Figure 9 POSPrinter OCX


When to use the POSPrinter OCX:

When the application writer wants complete control of what is sent to the printer. The
application must take the responsibility of sending the correct codes to the printer as well
as detecting error conditions, and graceful recovery from error situations.

When not to use the POSPrinter OCX:

When you do not want to deal with the low-level commands sent to the printer.

PC Hardware

Window’s Operating System

POS Application

POSPrinter.ocx

ActiveX Control

Port

Driver


Serial
OR
Parallel
OR
U

S

B

OR
Eternet
OR

Other


Port
Hardware

Serial
OR
Parallel
OR
USB bus

.

OR
Ethernet
OR
Other

Printer
Driver