40 Chapter 4: Programming CommandsRevision D 12/09

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

(Kanzaki P310)

 

1

= two-color (red/black) papers

(Kanzaki P310RB)

 

4

= two-color (blue/black) papers

(Kanzaki P320BB)

 

5

= two-color (red/black) papers

(Kanzaki P320RB)

Default:

0

(monochrome paper)

 

This command will set the optimum parameter values in the thermal print engine control hardware for 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 (m n= 4 0) 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 A799 printer will behave in each emulation mode:

Two-color paper and ColorPOS® commands and features are supported only in A799 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 LEGACY, 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 on next page.

If emulation is switched from any emulation to A799 native, the font and LPI will remain unchanged because the A799 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 LEGACY emulation mode. The LPI is set at 6.00.

Continued...

A799-PG00001D

Page 40
Image 40
Cognitive Solutions A799 manual Set paper type ColorPOS