Brother HL-2170W User Manual
Page 371
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
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).
- HL-1670N HL-6050D HL 5250DN HL-5070N HL-2460 HL-6050DN HL-2150N HL 2700CN HL-2130 HL-S7000DN HL-3040CN HL 1650 HL-6050 HL-5240 HL-5240L HL-1470N HL 3070CW HL 5170DN HL-3450CN HL-3140CW HL 5470DW HL-5140 HL-5440D HL-7050 HL-2240 HL-5040 HL-4070CDW HL-1870N HL-1110 HL-1850 HL 4150CDN HL-8050N HL 5450DN HL 5370DW HL-5050 HL-2140 HL 1270N HL-2600CN HL-6180DW HL-5350DN HL-4050CDN HL-2070N HL-3260N HL-5150D HL-5280DW HL-3170CDW HL-4570CDW HL-3150CDW HL 4040CN HL-4140CN HL 2240D HL 2270DW HL-1250 HL-7050N HL 5340D HL-2250DN HL-1450 HL-L9200CDWT HL-1112 HL-5270DN HL-5450DNT HL-L8250CDN HL 4570CDWT HL-5380DN HL-6180DWT HL-L8350CDW HL-4040CDN HL-L8350CDWT HL-2230 HL-5470DWT HL 2220 HL-1110E HL-1112E