Generate Tone; Select Peripheral Device (For Multi-Drop); Initialize Printer - CognitiveTPG A798 Programming Manual

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

Advertisement

Revision C 12/09

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.

Initialize printer

ASCII
ESC @
Hexadecimal
1B 40
Decimal
27 64
Default:
Character pitch:
Column width:
Extra dot rows:
Character set:
Printing position:
Clears the print line buffer and resets the printer to the default settings for the start-up configuration (refer to Default
settings above).
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.
15.6 CPI
44 characters
3
Code Page 437
Column One
A798-PG00001C
Chapter 4: Programming Commands
35

Advertisement

Table of Contents
loading

Table of Contents