Citizen Systems 1.8 manual Application Developer, OPOS Control, Device Class, Control Object CO

Models: 1.8

1 61
Download 61 pages 21.93 Kb
Page 7
Image 7
1.4. Application Developer

CITIZEN OPOS DRIVER 1.8 Application Development Guide

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.

System

Registration

Mapping

Parameter

Interface

ActiveX

Control

Interface

ActiveX

Automation

Application

Method

Property

Event

Control Object

Device class support Device independent

Method

Event

Method

Service Object

Device dependent

OPOS

Control

Operating System/Driver

Printer

Cash Drawer

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.)

7

Page 7
Image 7
Citizen Systems 1.8 manual Application Developer, OPOS Control, Device Class, Control Object CO