Specifications

Programmers Guide TH230/TH230+
192
GS 0x8E
Function:
Download paper type description
Code ASCII: GS 0x8E n
L
n
H
d1 … dn
Code HEX: 0x1D 0x8E n
L
n
H
d1 … dn
Description:
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 TPG, Inc.
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.