User guide
A795 User Guide: Programming Supplement
Chapter 4: Programming commands
37
Perform partial knife cut
ASCII SUB ESC m
Hexadecimal 1A 1B 6D
Decimal 26 27 109
Partially cuts the receipt. The default setting leaves 5 mm.
(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 TM-T88 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 recognized in A793 emulation and
A795 native mode, ignored in TM-T88 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.
Initialize printer
ASCII ESC @
Hexadecimal 1B 40
Decimal 27 64
Single-wide, single-high, non-rotated, and left-aligned
characters are set and user-defined characters or logo
graphics are cleared. (Flash memory is not affected.) Tabs
reset to default. Receipt selection state is selected.
Exceptions
In printers with the parallel interface, this command also
returns paper exhaust to the paper status line if an alternate
status has been requested.
Default: Character pitch: 15.6 CPI
Column width: 44 characters
Extra dot rows: 3
Character set: Code Page 437
Printing position: Column One
Clears the print line buffer and resets the printer to the
default settings for the startup configuration (refer to
Default settings above).