CognitiveTPG A760 User Manual

Page 40

Advertising
background image

A760 User Guide: Programming Supplement
Chapter 4: Programming commands

40

Revision F January 2010

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

(Kanzaki P-310)

1 = Two-color (red/black) papers

(Kanzaki P-310RB)

4 = Two-color (blue/black) papers

(Kanzaki P-320BB)

5 = Two-color (red/black) papers

(Kanzaki P-320PB)

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 preset descriptions for customer selected
color types; initial release consists of two defined color
types: (m n = 1 0) Kanzaki P-310RB red/black paper and
(m n = 5 0) Kanzaki P-320RB red/black paper or Kanzaki
P-320BB blue/black paper. Other valid values
of m n may be present if the download paper type
description command has 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 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
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.
The following list clarifies how the A760 printer will
behave in each emulation mode:
Two-color paper and ColorPOS

®

commands and features

are supported only in A760 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 A758 or A756 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 A760

native, the font and LPI will remain unchanged because
the A760 native mode supports all font and LPI options
offered in the emulation modes.

Font and lines per inch (LPI) setup for different emulations

Emulation

LPI

Font(s)

Font

Default Default

Comments

Mode

Options

Options

Size

LPI

EDR

A760 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 two-color paper

A758, A756

6.00, 7.52, 8.13

Standard

13x24

7.52

3

emulation

Advertising