Horizontal motion control – TransAct Technologies ITHERM 280 User Manual

Page 85

Advertising
background image

iTherm

®

280 Programmer’s Guide

Programming Codes

28-07764

Rev C

Page 83

Horizontal Motion Control

Several commands can be used to control the horizontal position of characters. Many
applications use space control to position fields. However, the iTherm

®

280 Printer has

the ability to control character position with horizontal tab stops. This is done using the
horizontal tab [HT] to move to those tab stops.

[HT]

Horizontal tab


ASCII

[HT]

Hexadecimal 09H
Decimal

<9>

IPCL

&%HT

EPOS

[HT]

Description The [HT] command inserts spaces in the print buffer up to the next tab

stop. The default tab locations are every eight spaces.

[BS]

Back space


ASCII

[BS]

Hexadecimal 08H
Decimal

<8>

IPCL

&%BS

EPOS

[BS]

Description The [BS] command moves the print buffer one character width to the left.

The pointer position cannot be moved to the left of the left margin. [BS]
does not cause the buffer to be printed; rather, the following data is OR'ed
with the previous data.

[ESC] D

Set horizontal tab stops


ASCII

[ESC] D <n

1

> <n

2

> <n

3

> ... <n

i

> 0

Hexadecimal 1BH 44H <n

1

> <n

2

> <n

3

> ... <n

i

> 00H

Decimal

<27> <68> <n

1

> <n

2

> <n

3

> ... <n

i

> <0>

IPCL

none

EPOS

[ESC] D <n

1

> <n

2

> <n

3

> ... <n

i

> 0

Description The [ESC] D <n

1

> <n

2

> <n

3

> ... <n

i

> 0 command sets tab stops at the

character columns specified by <n>. The end of the settings is specified
by a <0>. All previously set tabs will be cleared. The restore-default
procedure other than to re-specify the tabs. Column sizes are in
accordance with the current character pitch. Setting tabs that are beyond
the station width is possible. A [CR] is inserted when the tab is used.
Printing begins at the home position. The power up default is every eight
spaces, i.e., 9, 17, 25, and so on.

Advertising