Brother HL-Series Technical Reference Manual page 320

Hide thumbs Also See for HL-Series:
Table of Contents

Advertisement

Revision C 16/01/96
DR - Relative Direction
DR [ run , rise ] [;]
run : X-component of the printing direction expressed as a percentage of the x-component of the
distance between P1 and P2.
rise : Y-component of the printing direction expressed as a percentage of the y-component of the
distance between P1 and P2.
• • This command determines the direction in which subsequent labels will be printed.
• Values for run and rise are clamped real numbers.
• The instruction is ignored if run and rise are both 0.
• When you issue a DR instruction the carriage return point is set to the current pen location.
• Any text path that you set with the DV instruction will combine with the current printing direction
determine the layout of characters on the page.
• If you change the positions of P1 and P2 the printing direction will change accordingly.
• If you omit the parameters the printing direction is horizontal and the run = 1% of |P2X-P1X|.
• Actual values for run and rise are changed relative to the P1 and P2 value. It is calculated as below:
actual run = run parameter ÷ 100 x (P2x - P1x)
actual rise = rise parameter ÷ 100 x (P2y - P1y)
(0, 100)
(0,60)
rise = 60%
θ
run=70%
Chapter 8 "HP-GL2" 54
(100, 100)
(70,0)
(0, 100)

Advertisement

Table of Contents
loading

Table of Contents