Hexadecimal dump
This feature is useful for programmers who are debugging printing pro-
grams and want to see the actual codes the printer is receiving. (Some
computers change the codes the programmer intended.)
In this mode, all data received will be printed in a hexadecimal dump format,
rather than the control codes being acted on as command codes.
This mode is accessed with the following procedure:
1. While holding both the(PAPER FEED)and( SEJ&l~“’ )buttons down,
turn power ON. A beep tone will be heard.
2. Begin printing. ln place of the usual printout you will get a formatted
dump showing exactly what data the printer receives. Each line presents
sixteen characters, their hexadecimal codes to the left and printable char-
acters printed on the right.
3. At the end of the hexadecimal dump, set the printer off-line with the
( 0N LINE ) button. This is necessary to print the last line.
The following BASIC program is a simple test you can run in hexadecimal
mode:
10 LPRINT WIDTH “LPT1:“.255
20 FOR I=0 TO 255
30 LPRINT CHR$(I);
40 NEXT I
50 LPRINT
60 END
If your system passes the codes directly to the printer without changing
them, you will get a printout like Figure 2-5.
00 01 02 03 04 05 06 07 08 09 OA 08 OC OD OE OF . . . . . . . . . . . . . . .
10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F .,,.____.,..__..
20 21 22 23 24 25 26 27 28 29 2A ZB 2C 2D 2E 2F !“#$%a’()*+,-./
30 31 32 33 34 35 36 37 38 39 3A 38 3C 3D 3E 3F 0123456789:;<=>?
40 41 42 43 44 45 46 47 48 49 4A 48 4C 4D 4E 4F QABCDEFGHIJKLMNO
50 51 52 53 54 55 56 57 58 59 5A 58 5C 50 5E 5F PQRSTUVWXYZ [\I ^-
60 61 62 63 64 65 66 67 68 69 6A 6B 6C 60 6E 6F ‘abcdefghijklmno
70 71 72 73 74 75 76 77 70 79 7A 78 7C 70 7E 7F pqrstuvwxyz(;)-.
80 81 82 83 84 85 86 87 88 89 8A 8B 8C 8D 8E 8F ._.__....___....
90 91 92 93 94 95 96 97 98 99 9A 9B 9C 9D 9E 9F .,___.._,.._._..
A0 Al A2 A3 A4 A5 A6 A7 A8 A9 AA AB AC AD AE AF . . . . . . . . . . . .
BO Bl RZ B3 84 B5 B6 B7 B8 89 BA BB BC BD BE BF .
CO Cl C2 C3 C4 C5 C6 C7 C8 C9 CA CB CC CD CE CF . . . . . . . . . . . . .
DO 01 D7 03 04 D5 D6 07 D8 D9 DA DB DC DD DE DF . . . . . . . . . . . .
EO El EZ E3 E4 E5 E6 E7 E8 E9 EA EB EC ED EE EF .._.___.__,_._._
FO Fl F2 F3 F4 F5 F6 F7 F8 F9 FA FB FC FD FE FF . . . . . . . . .
OD OA
QW.S 2-5. Sample hexadecimal dump
30