Select Cut Mode And Cut Paper; Print Test Form - CognitiveTPG A798 Programming Manual

Thermal receipt printer
Hide thumbs Also See for A798:
Table of Contents

Advertisement

38
Chapter 4: Programming Commands

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.

Print test form

ASCII
US t
Hexadecimal
1F 74
Decimal
31 116
Prints the current printer configuration settings on the receipt.
Disabled in page mode.
GS V m n
1D 56 m n
29 86 m n
A798-PG00001C
Revision C 12/09

Advertisement

Table of Contents
loading

Table of Contents