Hexadecimaldump
Thisfeatureisusefidforprogrammemwhoaedebuggingprintingprograms
andwant tosee the actualcodesthe printeris nxeiving. (Somecomputers
changethecodesthe programmerintended.)
Inthismode,alldata receivedwillbepfid inahexadecimaldumpformat,
ratherthanthe controlcodesbeing actedon as commandcodes.
Thismodeis accessedwith the followingpmctxhue:
1.
2.
3.
Whileholdingboththe[PAPERFEED jand ~buttonsdown
turnpowerON. Abeep tonewillbe heard.
Beginprinting.In place of theusual printoutyou will getaformatted
dumpshowingexactlywhatdatatheprintermxeives.Eachlinepnxents
sixteencharactem,their hexadecimalcodes to the left and printable
charactersprintedonthe right.
At theend of the hexadecimaldump, set the printeroff-line with the
[ONLINE [button.Thisis necessaryto print thelast line.
ThefollowingBASICprogramis asimpletestyou canrun in hexadecimal
mode: 10 WIDTH “LPT1 :“,255
20 FOR 1=0 TO 255
30 LPRINT CHR$ (I) :
40 NEXT I
50 LPR INT
60 END
Ifyoursystempassesthecodesdirectlytotheprinterwithoutchangingthem,
youwill getaprintoutlike Figwe 5-5. -
................
................
................
.. . . . . . . . . ,,.. . . .
..
F@nwM Samplehexdecimaidump.
48