Hexadecimaldump
This featureis useful for programmedwho are debuggingprinting pro-
grams and want to see the actualcodes the printer is receiving. (Some
computerschangethecodesthe programmerintended.)
Inthismode,alldatareceivedwillbeprintedin ahexadecimaldumpformat,
ratherthanthe controlcodesbeing actedonas commandcodes.
Thismode isaccessedwith thefollowingprocedu~:
1.
2.
3.
Whileholding both the PAPERFEEDandPITCHbuttonsdown, turn
powerON. Abeeptone willbeheard.
Startprinting. Inplace of theusual printoutyou will get aformatted
dumpshowingexactlywhatdatatheprinterreceives.Eachlinepresents
sixteencharactem their hexadecimalcodes to the left and printable
charactersprintedonthe right.
At theend of the hexadecimaldump, setthe printeroff-line withthe
ONLINEbutton.Thisis necessaryto printthe lastline.
ThefollowingBASICprogramis asimpletestyou canrunin hexadecimal
mode:
10
20
30
40
50
FOR 1=0 TO 255
LPRINT CHR$(1);
NEXT I
LPRINT
END
If yoursystem passesthe codes directlyto the printer withoutchanging
them,you willget aprintoutlikeFigure2-4.
m[:)1(:]20304 05 06 07 0!3 09 [:IA Oi3 OC CIDOE OF ................
1[] 11 12 1.3 14 15 16 17 11319 1A 113 IC ID IE IF . . .. . . . . . . . . . . . .
’20 ~~ ~~ p~ 24 25 26 27 ~S 29 ZQ ~B 2C 2D 2E 2F !“#$”/.&’ () *+, -. /
31> 31 32 33 34 35 3.5 37 38 39 30 7B 3C .3D 3E 3F (:11234 !36789 : ; <:=:$?
40 41 42 4s 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F @9BCDEFGHI JKLMNO
50 51 52 5.3 54 55 36 57 5S 59 3A 5i3 5C !5D 5E 5F PQRSTUVWXYZ [\lo-
60 01 62 63 64 .55 66 67 68 69 6A 6!3 6C 6D 6E 6F ‘abc de+ghi jk1mno
70 71 72 73 74 75 76 77 78 7? 76 7B 7C 7D 7E 7F pqt.stuvwxyz {:3-’.
80 .91 S2 S3 84 S5 86 87 8S 89 8.4 8B 8C SD SE SF .. . . . . . . . . . . . . . .
90 9I72 93 94 95 96 97 98 99 9A 9S 9C 9D 9E 9F ................
M) 01 42 As A4 65 A.5 Q7 AS 69 AA (WI AC 6D 9E 6F ................
EI[:IB1E12 B3 E14 B5 Et6 E17 E18 !39 13A !3EI BC EID BE RF . . . . . . . . . . . . . . . .
CCI Cl C2 C.3 C4 C5 C6 C.7 C@ C9 CO CB CC CD CE CF ................
D(I DI D2 D3 D4 D5 D6 D7 DE!D9 DA DEI DC DD DE DF . . . . . . . . . . . . . . . .
E() E1E2 E3 E4 E’5 E6 E? ES E9 EA EH EC ED EE EF ................
F[l F1F2 F3 F4 F5 F6 F7 FB F9 FA FEIFC FD FE FF . . . . . . . . . . . . . . . .
(:]D (:)(? . .
Figure 2-4. Samplehexadecimal dump
23