
Control Codes | PcOS Series 150 | Programmer's Guide |
Horizontal Motion
Horizontal Motion Control
There are several commands that can control the horizontal position of characters. Many applications use space control to position fields. However, there is the ability to control character position with horizontal tab stops. This is done by 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 | This command inserts spaces in the print buffer up to the next tab stop. |
| The default tab locations are every 8 spaces. |
Function | Back space |
ASCII | [BS] |
Hexadecimal | 08H |
Decimal | <8> |
IPCL | &%BS |
EPOS | [BS] |
Description | This command prints the data in the print buffer and shifts the current |
| horizontal position by one character width to the left. If the current |
| position is at the left margin, the [BS] is ignored. |
Function | 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 | This command sets tab stops at the character columns specified by <n>. |
| The end of the setting is specified by a <0>. All previously set tabs will be |
| cleared by this command. There is no |
| to respecify the tabs. The power up default is every 8 spaces, i.e., 9, 17, 25, |
| etc. Column sizes are in accordance with the current character pitch. |
| Setting tabs that are beyond the station width is possible. A [CR] will be |
| inserted if the tab is used. Printing will begin at the home position. |
Page 16 | Rev G | 12/14/99 |