
Revision C 16/01/96
Chapter 8 "HP-GL2" 54
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)
θ
run=70%
rise = 60%
(70,0)
(0,60)
(0, 100)
(0, 100)
(100, 100)
Содержание HL- SERIES
Страница 13: ...Revision A 16 01 96 Chapter 1 Introduction ...
Страница 16: ...Revision C 16 01 96 Chapter 2 PCL 1 Chapter 2 PCL ...
Страница 123: ...Revision C 16 01 96 Chapter 2 PCL 3 W width raster area 78 Y y offset raster 79 ...
Страница 124: ...Revision C 16 01 96 Chapter 3 PJL 1 Chapter 3 PJL Printer Job Language ...
Страница 180: ...Revision C 16 01 96 Chapter 4 Diablo 630 1 Chapter 4 Diablo 630 ...
Страница 200: ...Revision C 16 01 96 Chapter 5 EPSON FX 850 1 Chapter 5 EPSON FX 850 ...
Страница 237: ...Revision C 16 01 96 Chapter 6 IBM Proprinter XL 1 Chapter 6 IBM Proprinter XL ...
Страница 259: ...Revision C 16 01 96 Chapter 7 Bar Codes Control 1 Chapter 7 Bar Code Control ...
Страница 267: ...Revision C 16 01 96 Chapter 8 HP GL2 1 CHAPTER 8 HP GL 2 Graphics Language ...
Страница 280: ...Revision C 16 01 96 Chapter 8 HP GL2 14 220 END Sample 21 ...
Страница 328: ...Revision C 16 01 96 Chapter 9 HP GL 1 CHAPTER 9 HP GL Graphics Language ...
Страница 332: ...Revision C 16 01 96 Chapter 9 HP GL 5 1 3 2 Printing Area a b d c a b c d mm A4 4 5 5 5 Letter 6 5 5 5 Legal 6 5 5 5 ...
Страница 342: ...Revision C 16 01 96 Chapter 9 HP GL 15 Sample 68 ...
Страница 387: ...Revision C 16 01 96 APPENDIX A COMPALISON LIST 24 RESOLUTION 300 600 300 600 300 600 ...