CognitiveTPG A798 User Manual

Page 58

Advertising
background image

Chapter 4: Programming Commands

58

Revision C 12/09

A798-PG00001C

Select or cancel white/black reverse print mode

ASCII

GS B n

Hexadecimal 1D 42 n

Decimal

29 66 n

Value of n:

0 = Off

1 = On

(When 0 and 1 are the least significant bit, LSB)

Range of n:

0–255

Default:

0 (Off)

Turns on white/black reverse print mode. In white/black reverse print mode, print dots and non-print dots are reversed,
which means that white characters are printed on a black background. When the white/black reverse print mode is selected
it is also applied to character spacing which is set by right-side character spacing (1B 20).
This command can be used with built-in characters and user-defined characters, but does not affect the space between
lines.
White/black reverse print mode does not affect bit image, downloaded bit image, bar code, HRI characters, and spacing
skipped by horizontal tab (09), set absolute starting position (1B 24 …), and set relative print position (1B 5C).
White/black reverse print mode has a higher priority than underline mode. When underline mode is on and white/black
reverse print mode is selected, underline mode is disabled, but not canceled.
Bar codes, logos, and bit images are not affected by this command.
Exceptions

Only the lowest bit of n is valid.

Related information

In A793 emulation, the command is unrecognized and the parameter byte is put into the print buffer.

Select superscript or subscript modes

ASCII

US ENQ n

Hexadecimal 1F 05 n

Decimal

31 05 n

Value of n:

0 = Normal character size

1 = Select subscript size

2 = Select superscript size

Default:

0 (normal size)

Turns superscript or subscript modes on or off. This attribute may be combined with other characters size settings
commands (12, 13, 1B 21 n, 1D 21 n,…)
Exceptions

This command is ignored if n is out of the specified range.
Related information

In A793 emulation, this command is unrecognized and the parameter byte is put into the print buffer.

Advertising