TH320/TH420
Programmers Guide
107
Download to active flash sector
ASCII
GS DC1 aL aH cL cH d 1… dn
Hexadecimal 1D11 aLaHcLcHd1…dn
Decimal
29 17 aL aH cL cH d1… dn
Value of aL
low byte of the address Value of aH: high byte of the address
Value of cL
low byte of the count Value of cH: high byte of the count
Value of d
data bytes, 0–255
Value of n (for number of data bytes) (( cH * 256) +
cL)
Range of address (aL aH) 0000–FFFF (hexadecimal)
Range of count (cL cH) 0001–FFFF (hexadecimal)
Range
Addresses run from 0 to 64K.
Contains a start address (aH
×
256 + aL) and count (cH
×
256 + cL) of binary bytes to load into the
selected sector, followed by that many bytes. The start address is relative to the start of the sector.
Addresses run from 0 to 64K. The count must always be 256.
The printer may return one of several responses. ACK means that the data was written correctly and
the host should transmit the next block. NAK means that, for some reason, the data was not written
correctly. This could mean that communications failed or that the write to flash failed. The alternatives
seem to be to retry the block or halt loading and assume a hardware failure.
Related information
Available only in download mode.
Download paper type description
ASCII
GS 0x8E nL nH d 1 … dn
Hexadecimal 1D 8E m nL nH d 1… dn
Decimal
29 142 nL nH d 1 … dn
This command will store in flash memory a paper type description identified by the structure in
d1..dn,
adding the uniquely (by type category and version) identified structure for subsequent use by the set
paper type command. nL+ nH *256 define the number of bytes x
that follow. These bytes contain the
proprietary structure and CRC to operate the thermal print head. This structure contains the hardware
parameter values needed to print on formulations of monochrome and two-color thermal papers. New
paper definitions should be obtained from trusted sources such as the WN Web site in order to
optimize print quality while preventing premature head burnout or other damaging effects.
New definitions do not change any which had already been set. If an immediate effect is desired,
follow up this command with a set paper type m n
(where m and n
are bytes 0 and 1 of the
description). Once stored in flash memory, this paper type, selectable by ID
m n,
remains a valid
choice by the set paper type command until firmware flash memory is erased.
Restrictions: If the value of m n = 0 0, then the command will be ignored. It is thus impossible to
overwrite the default monochrome paper setting. This command will be ignored if the head type –
carried in the description (d1…dx)
–
is incompatible with the head type in the printer itself or if a
description with ID m n already exists.
There is room in firmware flash memory for a maximum of 16 paper type descriptions; of these one is
reserved for monochrome descriptions, with m n =0 0 description that is always populated, and factory
preloaded of two color descriptions. Thus 13 remaining spaces are free for dynamic use; once these
are used up further download paper type descriptions will be ignored, and a firmware reload will be
necessary to again free up (except for m n = 0 0) the paper type description space.
Содержание TH320
Страница 1: ...TH320 TH420 Two Color Thermal Impact Hybrid Printer Programmers Guide ...
Страница 75: ...TH320 TH420 Programmers Guide 67 ...
Страница 121: ...TH320 TH420 Programmers Guide 113 Character Sets Character code 437 USA Standard Europe ...
Страница 122: ...Programmers Guide TH320 420 114 Codepage 737 Greek ...
Страница 123: ...TH320 TH420 Programmers Guide 115 Codepage 850 Multilingual ...
Страница 124: ...Programmers Guide TH320 420 116 Codepage 852 Slavic ...
Страница 125: ...TH320 TH420 Programmers Guide 117 Codepage 857 Turkish ...
Страница 126: ...Programmers Guide TH320 420 118 Codepage 858 with Euro symbol ...
Страница 127: ...TH320 TH420 Programmers Guide 119 Codepage 860 Portuguese ...
Страница 128: ...Programmers Guide TH320 420 120 Codepage 862 Hebrew ...
Страница 129: ...TH320 TH420 Programmers Guide 121 Codepage 863 French Canadian ...
Страница 130: ...Programmers Guide TH320 420 122 Codepage 865 Nordic ...
Страница 131: ...TH320 TH420 Programmers Guide 123 Codepage 866 Cyrillic ...
Страница 132: ...Programmers Guide TH320 420 124 Codepage 1252 Windows Latin 1 ...
Страница 134: ...Programmers Guide TH320 420 126 Codepage 1255 Hebrew ...
Страница 142: ...Programmers Guide TH320 420 134 TH420 Additional Features ...
Страница 156: ......
Страница 157: ...TH320 TH420 Programmers Guide Wincor Nixdorf International GmbH D 33094 Paderborn ...