The followingBASICprogramis a simpletest you can run in hexadecimal mode:
10 FOR 1=0 TO 255
20LPRINT CHR$ ( 11 J
30NEXT I
40LPRINT
50END
If your system passes the codes directlyto the printer withoutchanging them, you will get a printoutlike
0[:) (:)1 02 0s 1;)4 (:)5 (0.5 (07 0!3 (:)y ,;B/l C)e (:)C (:,D OE- rjF
1(:) 11 12 1T 14 15 16 17 18 19 ICIIH iC ID IE IF 20 21 22 23 24 25 26 27 28 29 2A 2R 2C 2D 2E 3= :0 :1 32 .3: 34 35 36 37 38 X9 :393133C 3D SE 3F 40 41 42 43 44 45 46 47 4B 4? 4(44EI4C 4D 4E 4F
50 51 32 53 54 55 56 57 5$3 59 5A 5Ei 5C 5D 5E 5F 61;)61 62 63 64 43 66 67 68 69 6A 6EI 6C 6D 6E 6F
’70 71 ’72 77 74 75 76 77 76 79 7FI 7B 7C 7D 7E 7F
80 81 82 83 84 S5 86 87 S8 89 BA 8EI SC f3D 8E EIF
90 91 92 93 94 q5 96 97 96 99 99 9EI 9C 9D 9E 9F
60 (41 FKZ AZ A4 Q5 66 A7 ,48 A9 Ah 9B AC fiD 14E AF
RO El 132W3 134 B5 B6 B7 R8 139 BA BB EC ED HE EIF
ccl cl C2 C3 C4 c?. C6 C7 C8 C9 CA C!3 CC CD CE CF
DO D1 D2 D3 D4 D5 D6 D7 DS D9 DA Di3 DC DD DE DF
EC) El E2 EZ, E4 E5 E6 E7 E8 E9 EA EB EC ED EE EF
FO F1 F2 F3 F4 F5 F6 F7 FE F9 F/? FB FC FD FE FF (jD ~,A
. . . . . . . . . . . . . . . .
................
!“#$w.’
WMICDEFGH IJK:LMNO
F,CW?STUVWXYZ[ \ 1“-
‘a bc defg h i j k:1mno p q r stuvwx y z [ :
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. .
Figure2-4. Sample hexadecimal dump
MostBASICs,however,arenotquitethatstraightforwardForexample,the.
00 | 01 | 02 | 03 04 05 | 06 | 07 | OH | 09 | 09 | OB | oc | OD | 06 | OE | . . . . . . . . | . . . . . . . . | ||||
OF 10 11 12 13 14 15 16 | 17 | 1!3 | 19 | IB | IC | ID | iE | IF | . . . . . . . . | . . . . . . . . | |||||||||
20 | 21 | 22 | 23 24 2S 26 27 | 28 | 29 | 2A | 2EI | 2C | 2D | 2E | 2F | I“#*z&’ | |||||||
30 | 31 | 32 | 33 | 34 | 35 |
| 36 |
| 37 | 3S | 39 | 3A | 3B | 3C | 3D | 3E | 3F | 01234567B9: | ;<=>? |
40 | 41 | 42 | 43 | 44 | 4S | 46 |
| 47 | 48 | 49 | 4& | 4EI | 4C | 4D | 4E | 4F | @QBCDEF6HIJKLMN0 | ||
50 | 51 | 52 | 53 | S4 | 55 |
| 56 |
| 57 | 58 | 59 | 59 | 5EI | 5C | 5D | SE | SF | PQRSTLIVWXYZt\l*– | |
60 | 61 | 62 | 63 | .S4 | 65 |
| 66 |
| 67 | 6E! | 67 | 6A | 6B | 6C | 6D | 6E | 6F | ‘abcdefghijklmno | |
70 | 71 | 72 | 73 | 74 | 75 |
| 76 |
| 77 | 7S | 79 | 7A | 7B | 7C | 7D | 7E | 7F | ||
BO | 81 | 82 | B3 | 84 | S5 | B6 | 87 | SS | S9 | 8A | SE | SC | SD | BE | BF | . . . . . . . . | . . . . . . . . | ||
90 | 91 | 92 | 93 | 94 | 95 |
| 96 |
| 97 | 90 | 99 | 96 | 9B | 9C | 9D | 9E | 9F | . . . . . . . . | . . . . . . . . |
ho | Al | (42 | A3 | C14 A5 | (A6 | /)7 | AS | !49 | (4(4 (IB | AC | f?D | AE | fiF | . . . . . . . . | . . . . . . . . | ||||
BO | RI | B2 | BX | B4 | B5 | E16 | R7 | BE | !39 | BA | BB | EC | ED | BE BF | . . . . . . . . | . . . . . . . . | |||
CO | Cl | C2 | C3 | C4 | C5 | C6 | C7 | CB C9 CA CB CC CD | CE | CF | . . . . . . . . | . . . . . . . . | |||||||
DO | D1 | D2 | D3 | D4 | D3 | D6 | D7 | DE! D9 | DA | DB | DC | DD | DE | DF | . . . . . . . . | . . . . . . . . | |||
EO | El | E2 | E3 | E4 | E5 | E6 |
| E7 | E8 E9 E(4 EH EC ED EE | EF | . . . . . . . . | . . . . . . . . | |||||||
F(3FI | F2F3F4F’5F6F7 |
|
|
|
| FE | F9 | FA | FE | FC | FD | FE FF | . . . . . . . . | . . . . . . . . | |||||
(:ID | (]A |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| . . |
|
Figure 2-5. Sample hexadecimal dumpwithlBM-PC
24