CognitiveTPG A760 User Manual

Page 60

Advertising
background image

A760 User Guide: Programming Supplement
Chapter 4: Programming commands

60

Revision F January 2010

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

This command is only valid for the receipt station.
This is only available in A758 emulation and A760 native
modes.

Reverse color text mode (ColorPOS

®

)

ASCII

GS 0x85 m n

Hexadecimal 1D 85 m n
Decimal

29 133 m n

Value of m:

0 = white

1 = black

2 = paper color

Value of n:

0 = white

1 = black

2 = paper color

Default:

m = 0 (off)

Sets a mode for reverse printing effects on text. The
background color is specified by m, while the text color is
specified by n. Setting m = 0 turns off the mode.

If m = n but not zero, the printer produces solid printing
in the given color. This tactic can be used to minimize the
firmware busy work.
The value of current color and white/black reserve print
mode is superceded by the value of n whenever this mode
is on (m>0).
Bar codes, logos, and bit images are not affected by this
command.

Advertising