Citizen Systems Network Router 1.8 User Manual Page 8

  • Download
  • Add to my manuals
  • Print
  • Page
    / 61
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 7
CITIZEN OPOS DRIVER 1.8 Application Development Guide
8
Service Object (SO)
Service Object is called by Control Object and executes the function specified by OPOS for each
device. It is implemented as automation server and provides the set of methods called by CO.
This driver provides the processing dependent on the CITIZEN POS printer and cash drawer
connected to the printer.
1.6. CITIZEN OPOS Driver Registry Structure
In order for Control Object to be connected to Service Object exactly and initialize the
corresponding device, the OPOS control requires data for the system registry. The registry has
a hierarchical structure with levels called “key”. Each key consists of the following.
Additional key (also called sub-key)
Named value (“Data” of string, binary, or double-word type is defined for each value.)
One “default value” defined by string-type data.
OPOS defines only string data.
The following is a registry structure taking CT-S2000 (printer and cash drawer) as an example.
[HKEY_LOCAL_MACHINE\SOFTWARE\OLEforRetail]
@=""
[HKEY_LOCAL_MACHINE\SOFTWARE\OLEforRetail\ServiceInfo]
[HKEY_LOCAL_MACHINE\SOFTWARE\OLEforRetail\ServiceInfo\OposCCOs]
"Version"="1.8.001"
"Company"="Research Computer Services, Inc; Dayton OH"
"Directory"="C:\\Program Files\\CITIZEN\\CITIZEN Service Objects\\"
"Author"="Curtiss R. Monroe"
@="OPOS Common Control Objects -- Public Binaries. Source (c) RCS-Dayton."
[HKEY_LOCAL_MACHINE\SOFTWARE\OLEforRetail\ServiceOPOS]
@=""
[HKEY_LOCAL_MACHINE\SOFTWARE\OLEforRetail\ServiceOPOS\CashDrawer]
@=""
"DRW001"="CT-S2000_1.CD1"
[HKEY_LOCAL_MACHINE\SOFTWARE\OLEforRetail\ServiceOPOS\CashDrawer\CT-S2000_1.CD1]
@="CBM.Thermal.CashDrawer"
"PhysicalDeviceID"="CITIZENCT-S2000"
"Version"="1008009"
"WriteTimeout"="5000"
"Pin3"="001"
"StatusBackInterval"="200"
"Service"="C:\\Program Files\\CITIZEN\\CITIZEN Service Objects\\CBMTSO.dll"
"Port"="COM1:"
"BaudRate"="19200"
"HandShake"="000"
"BitLength"="008"
"Parity"="000"
"ServiceObjectDescription"="Citizen Systems Service Object for CT-S2000_1 Printer Cash Drawer No.1 ver
1.08.09"
"DrawerName"="CTS2000.CITIZEN.CD1"
"DeviceDescription"="Citizen Systems Thermal POSPrinter's Cash Drawer 1"
"OnTime"="005"
"PrinterID"="CT-S2000_1"
"CapStatus"="001"
Page view 7
1 2 3 4 5 6 7 8 9 10 11 12 13 ... 60 61

Comments to this Manuals

No comments