Perform Full Knife Cut; Perform Partial Knife Cut; Generate Tone; Select Peripheral Device (For Multi-Drop) - CognitiveTPG A798 Programming Manual

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

Advertisement

Revision D 10/13

Perform full knife cut

ASCII
EM
ESC i
Hexadecimal
19
1B 69
Decimal
25
27 105
Cuts the receipt.
There are two codes (Hex 19 or 1B 69) for this command and both perform the same function. See also 1D 56.
Exceptions
The full cut is replaced by a partial cut in the A793 emulation. ASCII EM, (0x19) is ignored in LEGACY emulation.

Perform partial knife cut

ASCII
SUB
ESC m
Hexadecimal
1A
1B 6D
Decimal
26
27 109
Partially cuts the receipt. The default setting leaves 5mm (0.20 inch) of paper on the left edge. (See setting partial cut
distance in diagnostics.)
There are two codes (Hex 1A or 1B 6D) for this command and both codes perform the same function. See also 1D 56.
Formulas
The cut edge is 144 dot rows or 18 mm (0.71 inch) above the print station.
Exceptions
The command is valid only at the beginning of a line. ASCII SUB, (0x1A), is ignored in LEGACY emulation. Line feed is
executed first, if the buffer is not empty.

Generate tone

ASCII
ESC BEL
Hexadecimal
1B 07
Decimal
27 7
Generates an audible tone. Performed by the printer to signal certain conditions.
Related information
This command is ignored in LEGACY emulation.

Select peripheral device (for multi-drop)

ASCII
ESC = n
Hexadecimal
1B 3D n
Decimal
27 61 n
Value of n:
0 (bit 0), device not selected
1 (bit 0), device selected
Default:
1 (bit 0), device selected
Selects the device to which the host computer sends data.
Related information
Other bits of n (1–7) are undefined and ignored.
When the printer is disabled by this command, it ignores transmitted data until the printer is re-enabled by the same
command.
Chapter 4: Programming Commands
A798-PG00001D
35

Advertisement

Table of Contents
loading

Table of Contents