beautypg.com

Graphics control functions – Tally Genicom Matrix Printer User Manual

Page 35

background image

7265 Programmer’s Manual

31

Copyright © 2004 TallyGenicom Chapter 2 ANSI

Graphics Control Functions

The set of control codes that are interpreted while in graphics mode are shown in the following
charts. Bytes less than 32 decimal that are not interpreted as control codes are ignored. The
printer processes valid escape sequences within a graphics data sequence. This is potentially
useful, for instance, in the cases of the absolute and relative position commands. A valid escape
sequence that is not applicable to graphics mode, such as bold printing mode, will be
implemented for text on exiting graphics. If the printer receives a nonvalid escape sequence while
in graphics mode, then it drops out of graphics mode.

Commands

Description

BEL

BELL

Causes the beeper to sound for about 1/2 second.

Dec 7

Hex 07

HT

HORIZONTAL TAB

Causes the print head to move to the next tab stop.

Dec 9

Hex 09

LF

(NEL)

LINE FEED

Graphics next line. Causes printing to move to the left margin on the following line.
If 8-bit control code processing is enabled, then NExt Line does the same thing.

Dec 10 or 133

Hex 0A or 85

VT

VERTICAL TAB

Causes printing to move to the left margin at the next vertical tab stop.

Dec 11

Hex 0B

FF

FORM FEED

Causes printing to move to the top left margin on the following form.

Dec 12

Hex 0C

CR

CARRIAGE RETURN

Causes printing to move to the left margin on the current line. This permits
overprinting the current line.

Dec 13

Hex 0D

IND

INDEX

If 8-bit control code processing is enabled, then a line feed is performed at the
graphics vertical pitch. The horizontal position stays the same.

Dec 132

Hex 84

RI

REVERSE INDEX

If 8-bit control code processing is enabled, then a reverse line feed is performed at
the graphics vertical pitch. The horizontal position stays the same.

Dec 141

Hex 8D

ESC P

ENTER DOT GRAPHICS MODE

Also sets line spacing to 1/12 inch so that LF produces contiguous graphics lines.

Dec 27 80

Hex 1B 50

ESC \

EXIT DOT GRAPHICS MODE

Also restores line spacing to its previously set value.

Dec 27 92

Hex 1B 5C