62

Chapter 4: Programming Commands

Revision D 12/09

Text strike-through mode (ColorPOS®)

ASCII

GS 0x85 m n

Hexadecimal

1D 8D n m

Decimal

29 141 n m

Value of m:

0

= retain same color as the character itself

 

1

= black

 

2

= paper color

Value of n:

standard cell height

Default:

n = 0 (off)

Prints a strike-through over characters. If the strike-through is as wide as the cell height, this will produce a cell that will be printed as a solid current color.

When characters are greater than normal size, such as double-high, the number of character rows claimed by n also increases proportionally, such as doubling for double-high cells. Location of the strike-through on a cell is on a cell-by-cell basis, so mixing cell sizes on the same print row will give uneven results.

Select font ID number

ASCII

GS 0xF0 0x01 n

Hexadecimal

1D F0 01 n

Decimal

29 240 1 n

Value of n: 128 - 255

Select font ID number for downloaded font.

This command is sent before downloading the map file for a specific font. Each font ID has one map file to download.

This command is also sent to select a downloaded font at run time.

Three Asian Fonts are available for use on the A799 printer: Traditional Chinese, Kanji, and Korean. Only one of these character sets can be downloaded to the printer at one time.

Font ID

Font

C3 (hex)

Traditional Chinese

CB (hex)

Kanji

CE (hex)

Korean

Note: Before downloading one of the Asian Fonts, the expanded flash memory allocation must be set up to expand the size of the permanent font space. (See Expanded Flash Memory Allocation below). For Traditional Chinese, 1.3 Meg of space is required. Kanji requires 1 Meg, and Korean requires of 1 Meg of space in the permanent font area.

Select font style number

ASCII

GS 0xF0 0x02 n

Hexadecimal

1D F0 02 n

Decimal

29 240 2 n

Value of n: 0 - 255

Select font style number for downloaded font. After selecting font style number, set the horizontal and vertical character spacing for the characters.

This command is sent before downloading the map file for a specific font. Each font ID can have multiple styles. For example, two different styles could be 16 x 16 Gothic and 24 x 24 Gothic, or three different styles could be 16 x 16 Gothic, 16 x 16 Ariel, and 16 x 16 Courier. Each style number within a font has one character definition file.

This command is also sent to select a downloaded font style at run time.

A799-PG00001D

Page 62
Image 62
Cognitive Solutions A799 manual Text strike-through mode ColorPOS, Select font ID number, Select font style number