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

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

Advertisement

38
Chapter 4: Programming Commands

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.
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.
A799-2PG0001B 4/2016

Advertisement

Table of Contents
loading

Table of Contents