Chapter 5: Programming commands
51
A776-PG00001 D 07/13
A776 (B780) Programming Guide
This command is effective for all characters (except for HRI characters).
In standard mode, the vertical direction is the paper feed direction, and the horizontal direction is perpendicular to
the paper feed direction. However, when character orientation changes in 90 degree clockwise-rotation mode, the
relationship between vertical and horizontal directions is reversed.
In page mode, vertical and horizontal directions are based on the character orientation. When characters are enlarged
with different sizes on one line, all the characters on the line are aligned at the baseline.
The select print mode (1B 21
n
) command can also select or cancel double-width and double-height modes. However,
the setting of the last received command is effective.
Exceptions
If
n
is out of the defined range, this command is ignored. This command is only valid for the receipt station.
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.
Character height selection
Hex
Decimal Height
00
0
1 (normal)
01
1
2 (two times height)
02
2
3 (three times height)
03
3
4 (four times height)
04
4
5 (five times height)
05
5
6 (six times height)
06
6
7 (seven times height)
07
7
8 (eight times height)
Summary of Contents for A776 ColorPOS
Page 12: ...Contents x A776 B780 Programming Guide A776 PG00001 D 07 13...
Page 14: ...Chapter 1 About this Guide 2 A776 B780 Programming Guide A776 PG00001 D 07 13...
Page 172: ...Code page 1255 Hebrew...
Page 173: ...Code page KZ_1048 Kazakh Code Page KZ_1048 Kazakh...
Page 174: ...Appendix C Electronic Journal 162 A776 B780 Programming Guide A776 PG00001 D 07 13...
Page 179: ......
Page 180: ...A776 PG00001 Rev D 07 2013...