
2009/06/29
CHAPTER 9 HP-GL - 23
DR - Relative direction
DR [ run, rise ] [;]
run : X direction component
rise : Y direction component
•
A percentage of the distance in the X and Y directions between P1 and P2 is used as the units
•
Specifies the character plot direction.
•
Values for the run and rise are clamped real numbers.
•
The instruction is ignored when values for both run and rise are 0.
•
When the parameter field is omitted, the default value (horizontal direction) is used.
θ
run=70%
rise = 60%
(70,0)
(0,60)
(0, 100)
(0, 100)
(100, 100)
CP - Character plot
CP X,Y [;]
X ; the number of text spaces the pen position is moved.
Y ; the number of text lines the pen position is moved.
•
Moves the cursor the specified number of characters.
•
Values for X and Y are clamped real numbers.
•
When the parameter field is omitted, the cursor is not moved along the X-axis but it is moved 1 character in
the negative direction along the Y-axis (identical to executing CP 0, -1;).
X increment
Y increment
Current position
10 '*** CPEX ***
20 LPRINT "DF;SP1;PA1000,3000;PDPR3000,0;PU;PR-3000,0;"
30 LPRINT "CP5,.55;LBABOVE THE LINE";CHR$(3);"PA2000,3000;"
40 LPRINT "XT;CP0,-1.15;LBBELOW THE LINE";CHR$(13);CHR$(10);"AND
WITH A NEAT";CHR$(3)
50 LPRINT "CP;LBMARGIN";CHR$(3)
60 END
<Sample 85>
SI - Set absolute character size
SI [ width, height ] [;]
width
: the width in centimeters of printed characters
height
: the height in centimeters of printed characters
•
Specifies the size of characters to be plotted.
•
Values for
width
and
height
are clamped real numbers.
•
When the parameter field is omitted, the default values are used (
width
: 0.1879 cm,
height
: 0.2690 cm).
Summary of Contents for HL-2600CN Series
Page 4: ......
Page 15: ...2009 06 29 CHAPTER 1 INTRODUCTION 1 CHAPTER 1 INTRODUCTION ...
Page 20: ...2009 06 29 CHAPTER 1 INTRODUCTION 6 ...
Page 21: ...7 17 2009 CHAPTER 2 PCL 1 CHAPTER 2 PCL PRINTER CONTROL LANGUAGE ...
Page 129: ...2009 06 29 CHAPTER 3 PCL5C 1 CHAPTER 3 PCL5C ...
Page 147: ...2009 06 29 CHAPTER 4 HP GL 2 1 CHAPTER 4 HP GL 2 GRAPHICS LANGUAGE ...
Page 200: ...2009 06 29 CHAPTER 4 HP GL 2 54 ...
Page 201: ...2009 06 29 CHAPTER 5 PJL 1 CHAPTER 5 PJL PRINTER JOB LANGUAGE ...
Page 276: ...2009 06 29 CHAPTER 6 EPSON 1 CHAPTER 6 EPSON FX 850 ...
Page 304: ...2009 06 29 CHAPTER 7 IBM PROPRINTER 1 CHAPTER 7 IBM PROPRINTER XL ...
Page 325: ...2009 06 29 CHAPTER 7 IBM PROPRINTER 22 ...
Page 326: ...2009 06 29 CHAPTER 8 BAR CODE CONTROL 1 CHAPTER 8 BAR CODE CONTROL ...
Page 337: ...2009 06 29 CHAPTER 9 HP GL 1 CHAPTER 9 HP GL GRAPHICS LANGUAGE ...
Page 364: ...2009 06 29 CHAPTER 9 HP GL 28 ...
Page 365: ...2009 06 29 CARBON COPY FUNCTION 1 CHAPTER 10 CARBON COPY FUNCTION ...
Page 373: ...2009 06 29 APPENDIX A COMPARISON LIST 1 APPENDIX A COMPARISON LIST ...
Page 475: ...2009 06 29 APPENDIX C HBP MODE COMMANDS 14 ...
Page 485: ...2009 06 29 APPENDIX D REFERENCE LIST OF MX 2000 4000 5000 7000 SERIES UNIQUE COMMANDS 10 ...