Chapter 5: Programming commands
33
A776-PG00001 D 07/13
A776 (B780) Programming Guide
Set paper type (ColorPOS
®
)
ASCII
GS 0x81
m n
Hexadecimal
1D
81
m n
Decimal
29 129
m n
Value of
m:
0 = monochrome (black) paper
4 = two-color (blue/black) papers
5 = two-color (red/black or green/black) papers
Default:
0 (monochrome paper)
This command will set the optimum parameter values in the thermal print engine control hardware for any defined
monochrome or two-color paper chemistry. The
m n
parameters select paper category and formulation version,
respectively.
(
m n
= 0 0) defines the default monochrome (black category, initial version) paper, out-of-box printers will also have
factory pre-set descriptions for customer selected color types; initial release consists of three defined color types:
(
m n
= 4 0) blue/black paper, and (
m n
= 5 0) red/black paper or green/black paper..
When issuing this command a value of
n
= 0xFF can always be used; that is interpreted as requesting the setting of the
highest version defined in the printer of that category. This is a safe way for an application to always select the latest of
a manufacturer’s paper category, thus choosing “ latest standard red/black”.
An incorrect setting of m n for a two-color paper or non-standard monochrome paper, or failure to set m n when a
color paper is inserted will result in poor print quality printing.
The last set paper type choice is stored in non-volatile memory and is retained after a power loss and across reset
commands. The initial value at first boot after firmware load (or reload) is
m n
=0 0.
Related information
An incorrect setting of
n
for a two-color paper or failure to set
n
when a two-color paper is loaded will result in poor
output quality.
Select receipt station
ASCII
RS
Hexadecimal
1E
Decimal
30
Selects the receipt slip station for all functions. The receipt station is default setting after the
printer is initialized or the clear printer (0x10) command is received.
Set Interpretation of “Set current color”
ASCII
US ETX SYN ENQ
n
Decimal
31 03 22 05
n
Hexadecimal
1F 03 16 05
n
Value of
n:
0-FF (Hex)
n =
01 will cause 1B 72 01 to print red. Any other value for 1B 72 will print black.
n =
00 will cause 1B 72 00 to print red and all other values to print black.
This command defines how to interpret the 1B 72 command for legacy environments. It provides a method to resolve
any differences in the definition of command 1B 72 between the A776 native mode and earlier implementations in
other printers.
In A776 native mode, the standard “Set current color” command should be used.
Related information
The 1F 03 16 00 command disables this and all other LogoEZ
®
features.
To disable one LogoEZ
®
feature when multiple LogoEZ
®
features are set, first disable all LogoEZ
®
features and then re-
enable only those you desire.
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...