Star Micronics XB-2420 Printer User Manual


 
Hexadecimaldump
Thisfeatureisusefulforprogrammerswhoruedebuggingpnntingprograms
andwantto see the actualcodestheprinteris receiving.(Somecomputem
changethecodestheprogrammerintended.)
Inthismode,alldatareceivedwillbeprintedinahexadecimaldumpformat,
rathert.lymthecontrolcodesbeingactedon as commandcodes.
Thismodeis accessedwiththe followingpmcedum:
1.
2.
3.
WhileholdingboththeI
PAPERFEEDI and P&!&dE~
buttonsdown,
turnpowerO-N.A beeptonewillbe heardandthe
“HEX DUMP MODE”
messageon thedisplay.
Beginprinting.In placeof the usualprintoutyou will get a formatted
dumpshowingexactlywhatdatatheprinterreceives.Eachlinepresents
sixteen characters,their hexadecimalcodes to the left and printable
charactersprintedon theright.
At the end of the hexadecimaldump,set the printeroff-linewiththe
[
ONLINE
I
button.Thisisnecessaryto printthelastline.
ThefollowingBASICprogramis asimpletestyoucanruninhexadecimal
mode:
10 WIDTH “LPT1 : ,255
20 FOR 1=0 TO 255
30 LPRINT CHR$( I ) ;
40 NEXT I
50 LPRINT
60 END
00 0 I 02 O?, 04 05 0 b 07
03 09 0 A (lB OC OCI O
E OF
10 11 12 13 74
15 1 b 17
18
1~ 1A IB IC IG IE IF
20 21 2Z 2?, 24 ;’5 i’6 z7
23 29 ZA 28
:C <’[)2E 2F
30 3 I 3/ 35 34 55 ?,0 37
38 39 ~A :iB 3C 30 3 E 3F
40 41 47 43 44 45 46 47
43 49 4A 48, 4(; .4[)4E. 4 F
50 5 1 52’ 53 54 55 5b 57
56 59 5A 5B 5C 5D 5E 5F
60 61 52 63 04 f!5 66 67
68 69 6A 6B 6C 6C bE 6i
70 71 72 73 74 i5 f6 :7
73 79 7A 7’6 7C 7D 7E 7 F
80 81 82 83 S4 s5 36 87
88 69 8A 8B EC 8E1 8E 8F
Yo Y 1 Y2 93 94 95 ‘96 97
98 99 9A 96 9C 9[1 9C 9F
/40 A 1 A 2 A3 A4 AS A6 A7
A8 A Q AA AEi AC AC AE AF
BO B 1 B 2 N B4 85 60 ti,’
B 8 B 9 BP BEi BC ED 8 E 8 F
(: O C 1 C 2 C3 C4 C5 [;5 ,;7
C 8 C 9 (;A C B CC C@ (;E C F
00 01 02 03 D4 J 5 i)5 G7
08 DY CIA 08 DC 2D DE u F
EO E 1 E2 E3 E4 E5 E6 E.?
E8 E 9 EA EE; EC EO EE f F
FO F 1 F2 F3 F4 F‘5 ‘b F 7
F8 F9 FA FB FC FD FE FF
00 OA
F/gum +5 Samplehexadecimaldump.