beautypg.com

TransAct Technologies ITHERM 280 User Manual

Page 209

background image

iTherm

®

280 Programmer’s Guide

Programming Codes

28-07764

Rev C

Page 207

Function

Set Horizontal Tab Positions

ASCII

[ESC] D

1

> …

k

> NUL

Hexadecimal 1BH 44H

1

> …

k

> 00

Decimal

<27> <68>

1

> …

k

> <0>

Range

1

n

255

0

k

32

Description The [ESC] D

1

> …

k

> NUL command sets the horizontal tab positions.

specifies the column number for setting a horizontal tab position. The command
deletes any previously set, horizontal tab positions. Up to 32 tab positions can
be set. The default tab positions are at intervals of eight characters for 7 x 9 font.

Function

Set Left Margin

ASCII

GS L

l

>

h

>

Hexadecimal 1DH 4CH

l

>

h

>

Decimal

<29> <76>

l

>

h

>

Range

0

n

l

255

0

n

h

255

Description The GS L

l

>

h

> command sets the left margin using n

l

and n

h

. The left

margin is set to [(n

l

+ n

h

Ч

256)

Ч

horizontal motion unit)] from the beginning of

the line. In standard mode, the command is enabled only when input at the
beginning of a line. In page mode, an internal flag is activated, and the
command is enabled when the printer returns to standard mode.

Function

Set Printing Area Width

ASCII

GS W

l

>

h

>

Hexadecimal 1DH 57H

l

>

h

>

Decimal

<29> <87>

l

>

h

>

Range

0

n

l

255

0

n

h

255

Description The printing area width is set to [(n

l

+ n

h

Ч

256)

Ч

horizontal motion unit)] from the

left margin. In standard mode, the command is enabled only when input at the
beginning of a line. In page mode, an internal flag is activated, and the
command is enabled when the printer returns to standard mode.

Function

Turn ON/OFF Uni-Directional Printing Mode

ASCII

[ESC] U

Hexadecimal 1BH 55H
Decimal

<27> <85>

Range

0

n

255

Description The [ESC] U command turns on/off unidirectional printing mode. When the

least significant bit (LSB) of = 1, unidirectional printing is turned on. When
LSB = 0, unidirectional printing is turned off, and i-directional printing is turned
on. Unidirectional printing can be turned on when printing double-high
characters to ensure that the top and bottom of the characters are aligned.
= 0 is the default setting.