Programmer's Guide
POSjet
®
1500
Codes and Commands
Nov-07
Rev M
Page 103
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 POSjet
®
1500 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.
Function
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.
Function
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, the
following data is OR'ed with the previous data.
Function
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.
Summary of Contents for POSJET 1500
Page 1: ...PROGRAMMER S GUIDE POSjet 1500 PN 20 03398 Rev M Nov 2007...
Page 14: ......