CBM America CBM-262 Printer User Manual


 
7
Chapter 7 Print Control Codes
74
(32) Specifying the relative printing position (ESC \ n1 n2)
Code: [1B] h + [5C] h + n1 + n2
* (0 n1 FF)
(0 n2 FF) Data are expressed in Hex code.
This command specifies the next printing start position with the current position as the
reference point. the next printing start position is a position [(n1 + n2 x 256) x basic
calculation pitch] inches from the current position.
This command is disregarded if the specification exceeds the printing area.
If a position is specified which is to the right of the current position with respect to
the character orientation, the value is a positive number (plus), and if a position is
specified which is to the left, the value is a negative number (minus).
Negative numbers are expressed as a complement of 65536.
For example, if shifting by N pitch to the left, this is expressed by n1 + n2 x 256 =
65536 - N.
The basic calculation pitch is set by GS P.
If there is a fraction as a result of calculations, interpolation is carried out at the
mechanism's minimum pitch. Remainders are cut off.
The horizontal basic calculation pitch (x) is used in the Standard mode.
In the Page mode, operation is as follows according to the starting point.
(1) If the starting point is specified as “top left” or “bottom right” by ESC T, the
relative position in the direction perpendicular to paper feed (the characters'
horizontal direction) is specified. At this time, the horizontal basic calculation
pitch (x) is used.
(2) If the starting point is specified as “top right” or “bottom left” by ESC T, the
relative position in the paper feed direction (the characters' horizontal direc-
tion) is specified. At this time, the horizontal basic calculation pitch (y) is
used.