
e Xte n do
®
Em ulation C omm and S e t Re fe r e nc e
Part No. D 684 112
Mod.Nr. 4 150813 LEV
Page 41 of 95
2.1.30
ESC $ + [n1] + [n2] + [m1] + [m2]
Set position
[Name]
Set position
[Function]
This command specifies the position at which predefined objects such as graphics,
text, bar codes, etc. will print.
[Code]
[1B]
16
+ [24]
16
+ [n1] + [n2] + [m1] + [m2]
[27]
10
+ [36]
10
+ [n1] + [n2] + [m1] + [m2]
[Description]1
1. The “ESC $+[n1]+[n2]+[m1]+[m2]” command specifies the position at which a predefined object,
such as graphics, text, bar codes, etc., will be printed.
2. Parameters n1 and n2 define the X coordinate of the upper, left-hand corner of where the object
will print, defined in tenths of a mm (0.1 mm). n1 is the MSB, while n2 is the LSB. The X
coordinate is therefore defined as n1 * [256]
10
+ n2, in tenths of a mm.
3. Parameters m1 and m2 define the Y coordinate of the upper, left-hand corner of where the object
will print, defined in tenths of a mm (0.1 mm). m1 is the MSB, while m2 is the LSB. The Y
coordinate is therefore defined as m1 * [256]
10
+ m2, in tenths of a mm.
4. The ranges of the four parameters are as follows. Also please note that if the value of n1 * 256 +
n2 exceeds
560
for an X-56 / 203 dpi or
800
for an X-80 / 203 dpi, the upper left corner of the
printing start position will be off the paper.
5. Similarly, please note that the value of m1 * 256 + m2 can become quite large, positioning the
upper left corner of the print start position over one meters down the paper. Care should be
taken to avoid this situation accidentally.
Parameter
Valid Ranges
n1
[0]
10
≤
[n1]
≤
[255]
10
n2
[0]
10
≤
[n2]
≤
[255]
10
m1
[0]
10
≤
[m1]
≤
[40]
10
m2
[0]
10
≤
[m2]
≤
[255]
10
6. Note the red dot in the image below. This represents the position as defined by this command
and shows where the text, image, bar code, etc. will be oriented with regard to that position with
different degrees of rotation.