Specifications
Revision C 16/01/96
Chapter 9 "HP-GL" 28
10 '*** TLEX ***
30 FOR I=1 TO 10
40 LPRINT "PR800,0;XT;"
50 NEXT I
60 LPRINT "TL;PU;PA300,279;PD;"
70 GOSUB 1000
80 LPRINT "TL1,0;PU;PA1100,279;PD;"
20 LPRINT "IN;PA300,279;SP2;PD;TL90;XT;";
90 GOSUB 1000
100 LPRINT "TL0,5;PU;PA1900,279;"
110 GOSUB 1000
120 LPRINT "PA300,6759;TL80;YT;PU;"
130 END
1000 '* SUBROUTINE DRAW TICKS *
1010 FOR J=1 TO 8
1020 LPRINT "PRO,720;YT;"
1030 NEXT J
1040 RETURN
<Sample 77>
XT - X-axis Tick
XT [;]
• Plots vertical tick marks as specified by the TL instruction from the current position.
• After plotting, the cursor returns to its point of origin.
• Plotting is performed whether the pen is up or down.
YT - Y-axis Tick
YT [;]
• Plots horizontal tick marks as specified by the TL instruction from the current position.
• After plotting, the cursor returns to its point of origin.
• Plotting is performed whether the pen is up or down.
10 '*** XTYTEX ***
20 LPRINT "IN;PA300,279;SP2;PD";
30 LPRINT "PR1300,0;XT;PR1300,0;XT;PU;"
40 END
PT - Pen Thickness Select
PT [d] [;]
d : Fill line interval (mm)
• Sets the line interval when filling in with solid lines.
• The value for d is a clamped number from 0.0000 to 5.0000.
• The default value (0.3 mm) is in effect when d is omitted.