57
UBI EasyCoder 71 – Programming
PRINT PARAMETERS COMMANDS, cont'd.
R
Reference Point Setting
Used for:
Global Setup & Form Edit Mode (resets Global Setup)
Syntax:
Ra,b
where...
a
=
Horizontal margin in dots
b
=
Vertical top margin in dots
This command establishes the reference point for both the x and y
axes. All horizontal and vertical measurements in other commands
use the setting for R as the Reference Point.
The horizontal margin is calculated as a number of dots from the
extreme left or right dot of the printhead, depending on print
direction. The EasyCoder 71 has 832 addressable dots across the
label path (203 dots/inch or 8 dots/mm). See example to the left!
There is a small margin at the rear edge of the label, i.e. at the top
of the label in direction ZB. This margin can be overrun by
increasing the label length in the Q command.
The figure below shows the Reference point when print orientation
is set to ZB or ZT. By increasing a and b value in the Ra,b
command, the present reference point moves in horizontally and
vertically.
Note:
Set the reference point correctly, so the printing will occur on the
media. Repeated printing outside the media will cause excessive
printhead wear.
Feed Direction
Sensor Location
a
b
Reference Point
Direction ZB
a
b
Label path orientated in the centre
Maximum Print Width
Printhead Dot Line
Margin
Reference Point
Direction ZT
Calculation example:
• The printhead has 832 dots.
• The label width is 90 mm (3.54"), i.e.
90 mm x 8 dots/mm = 720 dots.
• 832 - 720 = 112 of the printhead dots
are outside the label width.
• Since the label is centred, half of the
dots will be to the left and the other
half to the right of the label.
• Thus, set the horizontal margin to
112/2 = 56 dots for starting the
printing exactly at the edge of the
label.
• Allow an extra millimetre or so for
possible misalignment, i.e “a”
≈
50.