Hexadecimaldump - Star Micronics XB-2425 User Manual

Multi-font
Table of Contents

Advertisement

Hexadecimaldump
Thisfeatureisusefulforprogrammerswhoruedebuggingpnnting programs
and wantto see the actualcodesthe printeris receiving.(Somecomputem
changethe codesthe programmerintended.)
Inthismode,alldatareceivedwillbeprintedin ahexadecimal d umpformat,
rathert.lym the controlcodesbeingactedon as commandcodes.
This modeis accessedwith the followingpmcedum:
1.
2.
3.
WhileholdingboththeI
PAPERFEEDI
and P&!&dE~
buttonsdown,
turn powerO-N. A beep tone willbe heardand the
"HEX DUMP MODE"
messageon the display.
Beginprinting.In place of the usual printoutyou will get a formatted
dumpshowingexactlywhatdatatheprinterreceives.Eachlinepresents
sixteen characters,their hexadecimalcodes to the left and printable
charactersprintedon the right.
At the end of the hexadecimaldump, set the printer off-line with the
[
ON LINE
I
button.This is necessaryto printthe last line.
The followingBASICprogramis a simpletest youcan run in hexadecimal
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 O F
10
1 1 12
13
74
15
1 b
17
18
1~
1A
IB
IC
IG
IE
IF
20
21
2 Z 2?, 24
;' 5 i' 6 z 7
23
29
Z A 28
:C
<'[)2 E 2 F
30
3 I 3 / 35
34
55 ?, 0 37
38
39
~A
:iB 3 C 30
3 E 3 F
40
41
47
43
44
45
46
47
43
49
4 A 48, 4(; .4[)4 E. 4 F
50
5 1 5 2' 53
54
55
5 b 57
56
59
5A
5B
5C
5D
5E
5F
60
61
52
63
04
f! 5 66
67
68
69
6A
6 B 6C
6C
b E 6 i
70
71
72
73
74
i 5 f 6 :7
73
79
7 A 7'6 7C
7 D 7 E 7 F
80
81
82
83
S4
s 5 36
87
88
69
8 A 8 B EC
8E1 8 E 8 F
Y o Y 1 Y 2 93
94
95
'96 97
98
99
9A
96
9C
9[1 9 C 9 F
/40 A 1 A 2 A3
A4
AS
A6
A7
A8
A Q AA
AEi AC
AC
AE
AF
B O B 1 B 2 N
B4
85
60
ti ,'
B 8 B 9 B P BEi BC
ED
8 E 8 F
(: O C
1 C 2 C3
C4
C 5 [; 5 ,; 7
C 8 C 9 (; A C B CC
C @ (; E C F
00
01
02
03
D4
J 5 i) 5 G 7
08
DY
CIA 08
DC
2D
DE
u F
E O E 1 E 2 E 3 E 4 E 5 E 6 E. ?
E 8 E 9 E A E E; E C E O E E 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 Sample hexadecimaldump.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xb-2420

Table of Contents