143
EPL Commands
R
12/16/13 EPL Programming Guide 14245L-003 Rev. A
R

Set Reference Point

Description Use this command to move the reference point for the X and Y axes. All
horizontal and vertical measurements in other commands use the setting for R as the origin for
measurements. Use the R command as an alternative to sending the q command to position
(center) labels that are narrower than the print head.
The R command interacts with image buffer setting, as follows:
•The R command forces the printer to use the full width of the print head as the width of the
image buffer. The R command overrides the q commands print width setting.
Rotate the image buffer with the Z command to establish top and left margins (ZT) or the
bottom and right margins (ZB).
When positioned correctly, prevents printing off two (2) edges of the label opposite the 0,0
reference point.
Syntax Rp1,p2
Parameters This table identifies the parameters for this format:
Parameters Details
p1 =Horizontal (left)
margin
Horizontal (left) margin measured in
dots.
p2 = Vertical (top) margin
measured in dots.
Vertical (top) margin measured in dots.
Note •
Use the Q and R commands together for the easiest method of positioning form elements
in the print image in left-aligned table top printers.
Repeated printing off the edge of the label can cause excessive print head wear.