Command Conventions; Command Descriptions; Printer Actions; Clear Printer - CognitiveTPG A798 Programming Manual

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

Advertisement

34
Chapter 4: Programming Commands

Command conventions

The following information describes how each command is organized:
Name:
Name of command.
ASCII:
The ASCII control code.
Hexadecimal:
The hexadecimal control code.
Decimal:
The decimal control code.
Value:
A description of the command operands.
Range:
The upper and lower limits of the command operand.
Default:
The command operand default after printer reset.
Description:
Brief description and summary of the command.
Formulas:
Any formulas used for this command.
Exceptions:
Describes any exceptions to this command; for example, incompatible commands.
Related information: Describes related information for this command; for example, bit information.

Command descriptions

Printer actions

The printer function commands control the following basic printer functions and are described in order of their
hexadecimal codes:
• Resetting the printer
• Cutting the paper
• Opening the cash drawers

Clear printer

ASCII
DLE
Hexadecimal
10
Decimal
16
Clears the print line buffer without printing and sets the printer to the following condition:
• Double-wide command (0x12) is canceled
• Line spacing, pitch, and user-defined character sets are maintained at current selections (RAM is not affected)
• Single-wide, single-high, non-rotated, and left-aligned characters are set
• Printing position is set to column one
Related Information
This command is recognized in A793 emulation and A798 native mode, ignored in LEGACY emulation.
A798-PG00001D
Revision D 10/13

Advertisement

Table of Contents
loading

Table of Contents