Brother HL-2170W User Manual
Page 179
CHAPTER 4 HP-GL/2 - 28
90 LPRINT "FT4,100,45;RA4250,4750;"
100 LPRINT CHR$(27); "%0A";
110 LPRINT CHR$(27); "E";
120 END
RR - Fill rectangle relative
RR X, Y[;]
X ; X coordinate of opposite corner for the rectangle
Y ; Y coordinate of opposite corner for the rectangle
Coordinates relative to the current position in current units.
Fill the rectangle formed by the current position and the opposite corner specified by X and Y.
After plotting the cursor returns to its point of origin.
Plotting is performed whether the pen is up or down.
10 ' - Fill Relative Rectangle -
20 WIDTH "LPT1:", 255
30 LPRINT CHR$(27); "E";
40 LPRINT CHR$(27); "%0B";
50 LPRINT "IN;SP1;PA5000,4000;"
60 LPRINT "FT1;RR750,750;"
70 LPRINT "PR750,0;"
80 LPRINT "FT3,100;RR750,750;"
90 LPRINT "PR0,750;"
100 LPRINT "FT2;RR750,750;"
110 LPRINT "FT4,100,45;RR-750,750;"
120 LPRINT CHR$(27); "%0A";
130 LPRINT CHR$(27); "E";
140 END
WG - Fill wedge
WG r,q1,qc(,qd)[;]
r ; Radius in current units
q1 ; Start point angle
qc ; Arc angle
qd ; Chord angle
Fill in a wedge centred on the current position with radius r, start point angle q1, arc angle qc and chord
angle qd.
After plotting, the cursor returns to its point of origin.
Plotting is performed whether the pen is up or down.
You should use this command with the type "isotropic". Anisotropic type may make the wedge stretch.
r specifies the radius of circle. A positive value places the 0º reference point onto the positive x-axis and
the negative value places it onto the negative x-axis.
The value for q1 is a clamped real number.
q1 specifies the wedge starting point related to the 0º reference point.
When q1 is positive, the positive direction of the X axis relative to the current position is set at 0 degrees and
the start point is sought in the counterclockwise direction. The opposite occurs when q1 is negative: the
negative X axis is set at 0 degrees and the start point is sought by going clockwise.
qc specifies the angle of the wedge.
The value for qc is a clamped real number.
Plotting proceeds counterclockwise when qc is positive and clockwise when negative.
The value for qd is a clamped real number.
When qd is not specified, the chord angle is the default value ( 5 degrees ).
- 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