Printek 4503 Printer User Manual


 
Epson FX Emulation
Page 3-20
Relative Horizontal Tab ESC \ n1 n2
Move the carriage position to the left or right of the current carriage position. The
displacement is specified in 120ths of an inch, and calculated as
( )
n n1 2 256
120
+
inches.
The new position is relative to the current carriage position, and must fall within the
left and right margins or it will be ignored. A negative displacement (2’s
complement) causes a move to the left.
Example: The following escape sequence will move the carriage one inch to the
right.
Escape Sequence: ESC \ 120 0
Hexadecimal: 1B 5C 78 00
Example: The following escape sequence will move the carriage one inch to the left.
Escape Sequence: ESC \ 136 255
Hexadecimal: 1B 5C 88 FF
Set Horizontal Tab Stops ESC D n1 n2 ... nx NUL
Clears all currently set horizontal tab stops, and sets new tab stops at column n1, n2,
n3, etc. 1n255. The tab stops must be presented in ascending order. The NUL
character, or any tab stop value less than the preceding one, terminates the sequence.
The tab stops are set relative to the current character spacing, but subsequent changes
in character spacing will not affect the physical position of the tab stops (except that
the position will be rounded up to the closest character boundary). The leftmost
column is column zero.
Default tab stops are set at every eighth column, i.e. column 8, 16, 24, 32, 40, etc.
The tab stops set by ESC D will replace the default tab stops. ESC D NUL will clear
all tab stops, leaving no tab stops set. The default tab stops are restored by ESC @.
Example: The following escape sequence will set horizontal tab stops at half inch
intervals, if character spacing is currently 10 cpi.
Escape Sequence: ESC D 5 10 15 20 25 30 NUL
Hexadecimal: 1B 44 05 0A 0f 14 19 1E 00