Star Micronics ZA-250 Printer User Manual


 
Hexadecimaldump
Thisfeatureisusefidforprogrammemwhoaedebuggingprintingprograms
andwantto seethe actualcodestheprinteris nxeiving.(Somecomputers
changethe codestheprogrammerintended.)
Inthismode,alldatareceivedwillbepfid inahexadecimaldumpformat,
ratherthanthecontrolcodesbeingactedon ascommandcodes.
Thismodeis accessedwiththe followingpmctxhue:
1.
2.
3.
Whileholdingboththe [
PAPER FEED j and
~
buttonsdown
turnpowerON.A beeptonewillbe heard.
Beginprinting.In placeof the usualprintoutyou will get a formatted
dumpshowingexactlywhatdatatheprintermxeives.Eachlinepnxents
sixteencharactem,their hexadecimalcodes to the left and printable
charactersprintedon theright.
At the end of the hexadecimaldump,set the printeroff-linewith the
[
ONLINE
[
button.Thisis necessaryto printthelastline.
ThefollowingBASICprogramis asimpletestyoucanrunin 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,
youwillget a printoutlikeFigwe 5-5. -
. . .. . . . .. . . . .. ..
. . . .. . . .. .. .. . . .
. . .. . . . .. . . .. . . .
. . .. . . . .. . ,,... ..
..
F@nwM Samplehexdecimaidump.
48