beautypg.com

Datamax-O'Neil S2000i User Guide User Manual

Page 21

background image

17

VSCII

Characters

Standard Mapping

(hex)

Datamax-O’Neil

Mapping (hex)

0x19 0x03

0x1A 0X07

0X1C 0X10

0X1D 0X19

0X1E 0X1A

0X1F 0X1E

Table (1)

Additional VSCII characters saved in control code section


VSCII Print Mode Use Example

Example (1):

The following example code can be used to enable VSCII font. Command (ESC-‘F’-‘5’):


MSCOMM.OUTPUT = 0x1B

- ESC

MSCOMM.OUTPUT = 0x46

- ‘F’

MSCOMM.OUTPUT = 0x35

- ‘5’


Example (2):

Another example to show how to print a VSCII character, given VSCII font is enabled (see example (1):


MSCOMM.OUTPUT = 0x03

-

MSCOMM.OUTPUT = 0x10

-

MSCOMM.OUTPUT = 0x1A

-