Star Micronics XB24-15 Hexadecimal dump mode, FOR I=0 TO 20 LPRINT CHR$I 30 NEXT 40 LPRINT 50 END

Models: XB24-15 XB24-10

1 140
Download 140 pages 17.48 Kb
Page 97
Image 97
Hexadecimal dump mode

Hexadecimal dump mode

In this mode, all received data will be printed in a hexadecimal dump format, rather than the control codes being acted on as command codes.

This mode is accessed by tuming on the printer, while simultaneously

holding down the ‘+!S‘ and /ME,F!? keys. To turn off the mode, it is necessary to turn off the printer completely.

The printout will be similar to that produced by a MS-DOS DEBUG Display command, ie the hexadecimal values of the bytes received will be given in tows of 16, divided into two blocks of eight. “Unprintable” characters, ie control codes from OOhthrough 1Fh and 7Fh through FFh, are represented by periods.

The following (BASIC) program will produce the result below it:

10 FOR I=0 TO 255

20 LPRINT CHR$(I);

30 NEXT I

40LPRINT

50END

After the program has been run, the printer’s buffer should be flushed by

pressing the i

button.

00 01 02 03 04 05 06 07 08 09 OA OB OC OD OE OF 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F

3031 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F

4041 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F

5051 52 53 54 55 56 57 58 59 5A SB SC SD 5E SF 60'61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F

7071 72 73 74 75 76 77 78 79 7A 7B 7C 7D 7E 7F

8081 82 83 84 85 86 87 88 89 8A 8B 8C 8D 8E 8F

9091 92 93 94 95 96 97 98 99 9A 9B 9C 9D 9E 9F

A0 Al A2 A3 A4 A5 A6 A7 A8 A9 AA AB AC AD AE AF BO Bl B2 B3 B4 B5 B6 B7 B8 B9 BA BB BC BD BE BF CO Cl C2 C3 C4 C5 C6 C7 C8 C9 CA CB CC CD CE CF DO Dl D2 D3 D4 D5 D6 D7 D8 D9 DA DB DC DD DE DF EO El E2 E3 E4 ES E6 E7 E8 I39EA EB EC ED EE EF FO Fl F2 F3 F4 F5 F6 F7 F8 F9 FA FB FC FD FE FF OD OA

. . . . . . . . . . . . . . . .

‘ik+;iji;;l:;

01234567 89:;<=>?

OABCDEFG HIJKLMNO PQRSTUVU XYZ[\I"- 'abcdcfg hijklmno pqrstuvw xyz{:]-

................

................

................

................

................

................

................

................

This mode is useful when installing and debugging software, to ensure that the characters and codes actually being received by the printer are those which ate actually required.

89

Page 97
Image 97
Star Micronics XB24-15, XB24-10 user manual Hexadecimal dump mode, FOR I=0 TO 20 LPRINT CHR$I 30 NEXT 40 LPRINT 50 END