Select Cut Mode And Cut Paper; Set Paper Type (Colorpos ® ) - CognitiveTPG A799II Programming Manual

Two-color thermal receipt printer
Hide thumbs Also See for A799II:
Table of Contents

Advertisement

Select cut mode and cut paper

ASCII
GS V m
Hexadecimal
1D 56 m
Decimal
29 86 m
Value of m:
Selects the mode as shown in the table.
Value of n:
Determines cutting position only if m is 65 or 66.
m
Feed and cut mode
0, 48 Full cut (no extra feed)
1, 49 Partial cut (no extra feed)
65
Feeds paper to cutting position + (n times vertical motion unit), and cuts the paper completely
66
Feeds paper to cutting position + (n times vertical motion unit), and performs a partial cut
Range of m:
0, 48; 1, 49
65, 66 (when used with n)
Range of n:
0 – 255
Default of m, n: 0
Selects a mode for cutting paper and cuts the paper. There are two formats for this command, one requiring one parameter
m, the other requiring two parameters m and n. The format is indicated by the parameter m.
Formulas
n times the vertical motion unit is used to determine the cutting position to which the paper is fed. Set n to 0 to cut below
the last printed line.
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
2 = monochrome (black) paper (Koehler KT55F20)
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 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 three defined color types: (m n= 4
0) blue/black paper, or (m n = 5 0) red/black paper or green/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 = 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. n should always either be 0 or 0xFF.
The last set paper type choice is stored in non-volatile memory and is retained after a power loss and across reset
commands.
GS V m n
1D 56 m n
29 86 m n
)
®
A799-2PG0001B 4/2016
Chapter 4: Programming Commands
41

Advertisement

Table of Contents
loading

Table of Contents