Citizen Systems Network Router 1.8 Manuale Utente

Pagina di 61
 
 
 
 
 
CITIZEN OPOS DRIVER 1.8 Application Development Guide
7
1.4. Application Developer 
Application developer who wants to use this driver must be familiar with the following items. 
 OPOS1.8 specifications 
  General characteristics of CITIZEN POS printer 
  Terms and structure of ActiveX control and OLE automation 
  ActiveX control container development environment such as Microsoft Visual Basic and 
Microsoft Visual C++, etc. 
 
1.5. OPOS Control 
The OPOS control, conforming to ActiveX control specifications, provides the application with 
property, method, and/or event.    It consists of control object (CO) for device class and service 
object (SO).    CO supplies application interface (API) and SO executes the API, 
The OPOS software us implemented by the use of the layer shown in the following figure. 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Device Class 
This is a category of the POS device sharing the set of property, method and event. 
 
Control Object (CO)
 
Control Object provides the application with a set of property, method and event for each 
device class.    CO is a standard Active (OLE 32 bit) control and is not visible at the time of 
execution.    As a rule, this driver uses OPOS standard CO.    (OPOS standard CO is installed 
automatically at the installation of this driver.) 
 
OPOS
Control 
 
 
 
 
 
System 
Registration 
 
Mapping 
Parameter 
Application
Control Object
Device class support 
Device independent 
Service Object
Device dependent 
Operating System/Driver
Interface 
ActiveX 
Control 
Interface 
ActiveX 
Automation 
Method
Property 
Method
Event
Method 
Printer
Event
Cash Drawer