Citizen Systems 1.8 manual SetBitmap Method/ESC#B Escape Sequence

Models: 1.8

1 61
Download 61 pages 21.93 Kb
Page 44
Image 44
SetBitmap Method/ESC#B Escape Sequence

CITIZEN OPOS DRIVER 1.8 Application Development Guide

SetBitmap Method/ESC#B Escape Sequence

Bitmap is registered by specifying Bitmap number (1 - 20) using the SetBitmap method and bitmap printing is carried out by specifying the registered number in the ESC#B escape sequence. This driver has two modes, raster bit image mode and NV bit image mode. Specification of each mode is as shown below.

Raster bit image mode

SO stores own bitmap using the SetBitmap method. When SO is closed, the stored bitmap is cleared. Therefore, it is necessary to register bitmap each time SO is opened.

NV bit image mode

Using the SetBitmap method, SO writes bitmap to the nonvolatile memory (Flash ROM) of the printer.

Therefore, it is not necessary to register bitmap each time SO is opened.

The initial value of this driver is raster bit image mode. To change to the NV bit image mode, perform the following registry operation.

<Example: CT-S2000> HKEY_LOCAL_MACHINE¥SOFTWARE¥OLEforRetail¥ServiceOPOS¥POSPrinter¥CT-S2000_1 UseNVRAM = 001 ・・・ NV bit image mode

UseNVRAM = 000 ・・・ Raster bit image mode (initial value)

*When changing the above setting, use the setting tool of this driver (Configuration Utility) as explained in “1.6 Registry Structure”.

(Configuration Utility)

The time required for write operation in NV bit image mode depends on the communication condition, printer performance, etc. When writing bitmap registration is unsuccessful, conduct a test after setting the registry value of the following transmission timeout time to 10,000 ms or more.

<Example: CT-S2000> HKEY_LOCAL_MACHINE¥SOFTWARE¥OLEforRetail¥ServiceOPOS¥POSPrinter¥CT-S2000_1 WriteTimeout10000 or more ・・・ 5000 (Initial value)

*When changing the above setting, use the setting tool of this driver (Configuration Utility) as explained in “1.6 Registry Structure”.

(Configuration Utility)

* To insure long life of the printer, registration of NV bitmap shall be less than 10 times/day.

44

Page 44
Image 44
Citizen Systems 1.8 manual SetBitmap Method/ESC#B Escape Sequence