Epic 880TM Programmers Notes
Page 246 100-88002 Rev B
POSPrinter Activex Control (POSPrinter OCX):
This is not a driver; it is 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 the commands, it wants to, to
the printer. This approach is similar to the “old DOS days” of talking to a POS printer.
Figure 35 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
Windows Operatin
g
S
y
stem
POS Application POSPrinter.ocx
Port
Driver
Serial
OR
Parallel
OR
USB
OR
Eternet
OR
Whatever.
Port
Hardware
Serial
OR
Parallel
OR
USB bus.
OR
Ethernet
OR
Whatever.
Printer
Driver