R – Set Reference Point
This command is used to move the reference point for the X- and
Description
Y-axes. All horizontal and vertical measurements in other com-
mands use the setting for R as the origin for measurements.
Syntax
Rp
1
Parameters
p
1
p
2
The reference point command is used to establish top and left
Remarks
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.
The print direction commands ZB and ZT affect the location of
the reference point, as illustrated below:
Example
R50,100↵
ESim v5.12 for EasyCoder PD4—Programmer's Reference Manual
,p
2
Horizontal (left) margin measured in dots (default 000).
Vertical (top) margin measured in dots (default 000).
p
2
p
1
Maximum Print Width
Label path orientated in the center
Printhead Dot Line (832 dots)
Reference Point
Direction ZB
Feed Direction
:Creates a 50 dot left margin
and a 100 dot top margin.
Chapter —Commands
Reference Point
Direction ZT
p
2
p
1