ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual 97
Chapter 7—Commands
R – Set Reference Point
Description is command is used to move the reference point for the X- and
Y-axes. All horizontal and vertical measurements in other com-
mands use the setting for R as the origin for measurements.
Syntax Rp
1
,p
2
Parameters p
1
Horizontal (left) margin measured in dots (default 000).
p
2
Vertical (top) margin measured in dots (default 000).
Remarks e reference point command is used to establish top and left
margins to prevent printing off the edge of the label. A minimum
margin of 1 mm should be used on all sides of the label.
Repeated printing outside the edge of the media can cause
excessive printhead wear.
For narrow labels, the R command could be substituted by a
q command, which has the benefit of making better use of a
limited image buffer. However, the q command cannot affect the
vertical margin. Any R command after a q command will revoke
the latter.
e print direction commands ZB and ZT affect the location of
the reference point, as illustrated below:
Example R50,100↵ :Creates a 50 dot left margin
and a 100 dot top margin.