User's Manual ZA-200 / ZA-250
User's Manual ZA-200 / ZA-250
User's Manual ZA-200 / ZA-250
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Hexadecimaldump<br />
Thisfeatureisusefidforprogrammemwhoaedebuggingprintingprograms<br />
and wantto see the actualcodesthe printeris nxeiving. (Somecomputers<br />
changethe codesthe programmerintended.)<br />
Inthismode,alldatareceivedwillbepfid inahexadecimaldumpformat,<br />
ratherthanthe controlcodesbeingactedon as commandcodes.<br />
Thismodeis accessedwiththe followingpmctxhue:<br />
1. Whileholdingboththe [ PAPER FEED j and ~<br />
buttonsdown<br />
turnpowerON. A beeptonewillbe heard.<br />
2. Beginprinting.In placeof the usualprintoutyou will get a formatted<br />
dumpshowingexactlywhatdatatheprintermxeives.Eachlinepnxents<br />
sixteen charactem,their hexadecimalcodes to the left and printable<br />
charactersprintedon the right.<br />
3. At the end of the hexadecimaldump, set the printeroff-linewith the<br />
[ ON LINE [ button.Thisis necessaryto printthelastline.<br />
The followingBASICprogramis a simpletestyoucanrunin hexadecimal<br />
mode:<br />
10 WIDTH “LPT1 :“,255<br />
20 FOR 1=0 TO 255<br />
30 LPRINT CHR$ ( I ) :<br />
40 NEXT I<br />
50 LPR INT<br />
60 END<br />
Ifyoursystempassesthecodesdirectlytotheprinterwithoutchangingthem,<br />
youwillget a printoutlikeFigwe 5-5. -<br />
. . . . . . . . . . . . . . . .<br />
. . . . . . . . . . . . . . . .<br />
. . . . . . . . . . . . . . . .<br />
. . . . . . . . . . ,,. . . . .<br />
. .<br />
F@nwM<br />
Samplehexdecimaidump.<br />
48