A795 User Guide: Programming Supplement
Chapter 4: Programming commands
41
Set paper type (ColorPOS™)
ASCII
GS Ox81 m n
Hexadecimal
1D 81 m n
Decimal
29 129 m n
Value of m:
0 = monochrome (black) paper
1 = Kansaki KIP-371 RB red/black paper
5 = Mistubishi XX-TBD blue/black paper
Default:
0 (monochrome paper)
This command will set the optimum parameter values in
the thermal print engine control hardware for any defined
monochrome or 2-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 two defined
color types: (m n = 1 0) Kansaki P-310RB red/black paper
and (m n = 5 0) Mitsubishi PB770 blue/black paper.
Other valid values of m n may be present if the download
paper type description command had been executed
defining additional types.
When issuing this command a value of n = OxFF 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 2-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
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 2-color paper or failure to
set n when a 2-color paper is loaded will result in poor
output quality.
The following list clarifies how the A795 printer will
behave in each emulation mode:
The following list clarifies how the A795 printer will
behave in each emulation mode:
Two-color paper and ColorPOS commands and features
are supported only in A795 native mode.
•
If the paper type is changed using the 0x1D 0x81
command, the font and default lines per inch (LPI) will
be setup as in the table below.
•
If only the font is changed, the default LPI will
automatically be changed as in the table below.
•
If emulation is switched to Epson, A794 or A793
emulation(s), the paper type will automatically be
changed to monochrome paper, and the font and LPI
will be changed as in the table below.
•
If emulation is switched from any emulation to A795
native, the font and LPI will remain unchanged because
the A795 native mode supports all font and LPI options
offered in the emulation modes.
•
The “Set Default LPI” option in the configuration
menu is not offered in Epson emulation mode.
The LPI is set at 6.00.
Font and lines per inch (LPI) setup for different emulations
Emulation
LPI
Font(s)
Font
Default
Default
Comments
Mode
Options
Options
Size
LPI
EDR
A795 native
6.00, 6.77, 7.52, 8.13
Standard
13x24
7.52
3
Default setup for monochrome paper
Tall
13x27
6.77
3
ColorPOS™ 13x27
6.77
3
Default setup for 2-color paper
A794, A793
6.00, 7.52, 8.13
Standard
13x24
7.52
3
emulation
Epson emulation 6.00
Tall
13x27
6.00
7
Default setup for Epson emulation
Standard
13x24
6.00
10