
TM
CHAP. 7
CONTR…
Control Codes for Line Spacing
Control Codes | Hex Codes | Function | |
LF | <0A> | Line feed | |
CR | <0D> | Line feed (same as LF) | |
ESC z 1 | <1B> <7A> <31> | Set 1/6 inch line feed | |
ESC z <1> | <1B> <7A> <01> | ||
| |||
ESC 0 | <1B> <30> | Set 1/8 inch line feed | |
ESC a “n” | <1B> <61> “n” | Feed paper n lines |
Control Codes for Page Layout
Control Codes | Hex Codes | Function | |
FF | <0C> | Page feed (form feed) | |
ESC C “n” | <1B> <43> “n” | Set page length at n lines | |
ESC C <0> “n” | <1B> <43> <00> | Set page length at n inches | |
“n” | |||
|
| ||
VT | <0B> | Execute vertical tab | |
ESC B “n1…nk” | <1B> <42> | Set vertical tab positions | |
<0> | “n1…nk” <00> | ||
| |||
ESC N “n” | <1B> <4E> “n” | Set bottom margin | |
ESC O | <1B> <4F> | Cancel bottom margin | |
ESC I “n” | <1B> <6C> “n” | Set left margin | |
ESC Q “n” | <1B> <51> “n” | Set right margin | |
HT | <09> | Execute horizontal tab | |
ESC D “n1” “n2” | <1B> <44> “n1” | Set horizontal tab positions | |
“n2” | |||
|
|
7 - 2