Control Codes

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 Epic 880TM 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 <n1> <n2> <n3> ... <ni> 0

Hexadecimal

1BH 44H <n1> <n2> <n3> ... <ni> 00H

Decimal

<27> <68> <n1> <n2> <n3> ... <ni> <0>

IPCL

none

 

EPOS

[ESC] D <n1> <n2> <n3> ... <ni> 0

Description The [ESC] D <n1> <n2> <n3> ... <ni> 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. 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; use the restore-default procedure [ESC] R to set these default tabs rather than re-specify the tabs.

100-88002 Rev B

Page 77

 

 

Page 89
Image 89
Epson 100-88002 manual Horizontal Motion Control