beautypg.com

Printer function commands, Clear printer – Epson A794-D100 User Manual

Page 53

background image

A794 Owner’s Guide

Chapter 6: Programming Information

March 1999

47

Printer Function Commands

The printer function commands control the following basic printer functions and are
described in order of their hexadecimal codes:

Printing

Feeding the paper

Resetting the printer

Cutting the paper

Opening the cash drawers

Defining the print area

Clear Printer

Clears the print line buffer without printing and sets the printer to the following
condition:

Double-Wide command (12) 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

Printer is restarted and error status is cleared in a fault condition

Printing position is set to column one

Knife is homed

ASCII

DLE

Hexadecimal

10

Decimal

16

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.

Perform Full Knife Cut

Cuts the receipt. Use either Hex 19 or Hex 1B 69.

There are two codes for this command. Both codes perform the same function.

ASCII

EM

ESC i

Hexadecimal

19

1B 69

Decimal

25

27 105

Exceptions

The full cut is replaced by a partial cut in the Axiohm A793 emulation.