Tabs – Tally Genicom Matrix Printer User Manual

Page 32

Advertising
background image

7265 Programmer’s Manual

28

Copyright © 2004 TallyGenicom Chapter 2 ANSI

Tabs

This printer stores tab stops in NVRAM while power is off. Therefore, all tab stops should be cleared before new
stops are set.

Commands

Description

ESC H

(HTS)

SET HORIZONTAL TAB AT CURRENT POSITION

If 8-bit control code processing is enabled then both

Dec 136

Hex 88

otherwise only

Dec 27 72

Hex 1B 48

ESC [(p1)
(p2);..(p22)u

SET HORIZONTAL TABS AT SPECIFIED POSITIONS

Sets up to 22 stops at one time. The value of p1, p2, etc. are in

decipoints (1 inch = 720 decipoints).

Dec 27 91 55 50 48 59 50 56 56 48 117

Hex 1B 5B 37 32 30 3B 32 38 38 30 75

The above example sets tabs at 1 inch and 4 inches. Existing tab stops are not
cleared. Margin settings have no effect on the positions of tab stops.

ESC J

(VTS)

SET VERTICAL TAB AT CURRENT POSITION

If 8-bit control code processing is enabled then both

Dec 138

Hex 8A

otherwise only

Dec 27 74

Hex 1B 4A

ESC [(p1);
(p2);.. (p12)v

SET VERTICAL TABS AT SPECIFIED POSITIONS

Sets vertical tabs at positions p1, p2, p3, etc. Up to 12 stops can be set at one
time. Tab stops are measured in decipoints from the top print reference.

Example: Set tab stops at 4 and 7 inches.

Dec 27 91 50 56 56 48 59 53 48 52 48 118

Hex 1B 5B 32 38 38 30 3B 35 30 34 30 76

ESC [(Ps)g

CLEAR TABS

Ps Effect

0 clear horizontal tab at current print position

1 clear vertical tab at current position

3 clear all horizontal tabs

4 clear all vertical tabs

Example: Clear all horizontal tabs

Dec 27 91 51 103 Hex 1B 5B 33 67

Advertising