EasyManuals Logo

Datamax MP-Compact4 Programmer's Reference

Datamax MP-Compact4
95 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #68 background imageLoading...
Page #68 background image
PROGRAMMER’S REFERENCE MANUAL
Appendix A: Intelhex Records.
Page 64
Appendix A: Intel Hex file format
Binary data (e. g. logos, and program code) is sent to the thermal printer in Intel hex format.
This is an ASCII data format widely used for transferring binary data between computers and
to PROM programming devices. There is also a binary mode available of Intel hex format. See
Appendix B for more information.
This description describes the Intel hex format as used by thermal printers.
Data Format
Intel hex data consists of lines of ASCII hex characters. Each line starts with colon (':') and
ends with a checksum, followed by a carriage return character.
Each byte of data is transmitted as two hex characters (0 ... 9, A ... F) with the high-order
character transmitted first.
The record format is:
:ll aaaa tt dd dd ... dd xx (Spaces are shown for clarity only.)
where:
: - record start character
Ll - number of data bytes in the record
Aaaa - 16-bit load address
Tt - record type number
Dd - data characters, 2 characters per byte of data
Xx - 8-bit checksum, defined so that ll+aa+aa+tt+dd+dd+...+dd+xx = 0
The record type number defines the type of record. The following record types are used in
the printer.
Segment record
The segment record sets the segment value of the load address.
Ll = 02
aaaa = 0000 (not used)
Tt = 02
data = segment load address (4 hex digits)
Data record
Ll = number of data bytes (max 20 = 32 decimal)
aaaa = load address
Tt = 00
Dd = binary data, 2 characters per byte

Table of Contents

Other manuals for Datamax MP-Compact4

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Datamax MP-Compact4 and is the answer not in the manual?

Datamax MP-Compact4 Specifications

General IconGeneral
BrandDatamax
ModelMP-Compact4
CategoryPrinter
LanguageEnglish

Related product manuals