Command conventions, Command descriptions – CognitiveTPG A799 User Manual

Page 35

Advertising
background image

Chapter 4: Programming Commands

35

Revision D 12/09

A799-PG00001D

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 A799 native mode, ignored in LEGACY emulation.

Advertising