10/10/03
CHAPTER 9 HP-GL - 21
n Character Set
0 ANSI ASCII
1 9825 Character Set
2 French/German
3 Scandinavian
4 Spanish/Latin American
6 JIS ASCII
7 ROMAN 8 Extensions
9 ISO IRV
30 ISO Swedish
31 ISO Swedish for Names
32 ISO Norway, Version 1
33 ISO German
34 ISO French
35 ISO Kingdom
36 ISO Italian
37 ISO Spanish
38 ISO Portuguese
39 ISO Norway, Version 2
SS - Select standard character set
SS [;]
Selects the standard character set specified by the CS instruction.
SA - Select alternate character set
SA [;]
Selects the alternate character set specified by the CA instruction.
10 '*** SASSEX ***
20 LPRINT "PA5000,5000;"
30 LPRINT "SP2;CS4;CA9;SS;LBS_E_T_4";CHR$(14);"S_E_T_9";CHR$(3)
40 END
ø
<Sample 79>
DT - Define label terminator
DT c [;]
c : Character
• The specified character is used as the character plotter terminator.
• The character plot mode is canceled by sending a terminator at the end of a character plot string.
• The parameter field used for this command must be only one character in length.
•
The default value (chr$(3)) is used when the parameter field is omitted.
10 '*** DTEX ***
20 LPRINT "IN;SP2;SC0,5000,0,5000;"
30 LPRINT "PA0,4500;LBDefault control character
ETX";CHR$(13);CHR$(3);
40 LPRINT "LBterminates by performing end-";CHR$(13);CHR$(3):
50 LPRINT "LBof-text function.";CHR$(3);
60 LPRINT "PA0,3500;DT@;LBPrinting characters
terminate,";CHR$(13):"@";
70 LPRINT "LBbut are also printed.@";
80 LPRINT "PA0,3000;DT";CHR$(13);";LBcontrol characters
terminate";CHR$(10);CHR$(13)
90 LPRINT "LBand perform their function.";CHR$(13)
100 END
<Sample 80>