Star Micronics NX-15 Printer User Manual


 
95
m 01 (02 03 04 05 (06 07
10 11 12 13 14 15 16 17
20 21 21 23 24 25 26 27
.13031 32 x :4 3s 56 37
40 41 42 43 44 45 46 47
50 51 52 53 54 55 36 57
.50 b 1 42 6; 64 b~ 6.$ 67
70 71 ~~ 75 74 75 76 77
so El 82 85 84 as 66 S7
90 ?1 72 ?3 94 ?s ’96 97
!40 61 (+2 /4? 134 (as Ab 67
Bu B1 B2 BZ B4 B5 B6 B7
co c1 C2 C3 C4 C5 C.6 C7
DO D1 D2 DZ D4 D5 D6 D7
EO El E: E3 E4 E5 E6 E7
Fu F1 F2 F3 F4 F5 F6 F7
OD OA
OR 09 OA OB OC OD OE OF
18 19 1.4 IB tC ID IE IF
28 29 29 2B 2C 2D 2E 2F
3E 39 3.4 3B 3C 3D GE 3F
48 49 4A 4B 4C 4D 4E 4F
5B 59 5A 5B 5C SD SE 5F
60 b9 6A .5B bC 6D & bF
7B 79 76 7B 7C 7D 7E 7F
B8 B9 Be
BB BC ED EIE SF
9S 99 9A 9B ‘7C 90 9E 9F
AS A9 AR AB AC AD f+E RF
BB 99 BA BE BC BD BE BF
C13 C9 CA CB CC CD CE CF
D8 D9 DR DB DC DD DE DF
EB E9 EA EB EC ED EE EF
FB F9 FA FE FC FD FE FF
Most BASICs, however, are not quite that straight forward.
For example, the IBM-PC prints the following:
00
OF
20
30
40
50
60
70
0<,
?0
6<,
BO
01 02 103
10 11 12
21 22 23
31 32 5s
41 42 43
51 52 55
61 62 63
71 72 73
81 82 Ez
91 92 93
61 az m
El B2 fix
04
13
24
34
44
54
64
74
84
94
A4
B4
106 07 OB
13 16 17
26 27 2B
36 37 3B
46 47 4S
56 57
5s
bh 67 b8
76 77 7a
86 S7 B8
96 97 98
66 A7 f38
B6 57 BB
0?
IB
29
3?
49
59
69
7?
B9
99
6?9
B9
1’?
2A
3A
46
5A
M
7A
SA
9A
+lQ
BA
OB OC OD
IB IC ID
2B 2C 2D
3B 3C 3D
4B 4C 4D
5B 5C 5D
bB 6C 6D
76 7C 7D
BB BC BD
9B 9C w)
AB AC AD
Bfi BC BD
10(2
IE
2E
3E
4E
5E
6E
7E
BE
9E
flE
BE
DE
IF
2F
3F
4F
5F
6F
7F
BF
9F
AF
BF
CO C1 C2 CZ C4 C5 C6 C7 CB C9 CA C6 CC CD CE CF
DO D1 D> DI D4 D5 D6 D7
DB D9 DA DB DC DD DE DF
EO El E2 E3 E4 E5 E6 E7 EB E9 EA ELI EC ED EE EF
FO F1 F2 F3 F4 F5 F6 F7
F8 F9 F!4 FE FC FD FE FF
OD OA
... ... .. ........
........ .. ..... .
! J,#%./.?.,{ ) x+. -. /
Notice that your printer receives decimal code 13 (Hex OD)
together with hex OA, which is really decimal 10. In addition,
your printer does not receive decimal code 26 (hex 1A).
Your printer prints 16 hex numbers per line, printing the
characters on the right hand side. If it receives less than 16, it
sits in a holding pattern, awaiting more data. Taking the printer
off line dumps the characters to the paper.
To debug a program quickly, just use the hex dump capabili-
ty. Appendix B will help you translate the hex codes to ASCII
equivalents.