Specifications
Programmers Guide TH230/TH230+
188
GS 0x81
Function: Set paper type
Code ASCII:
GS 0x81 m n
Code HEX: 0x1D 0x81 m n
Range: 0 ≤ m ≤ 255
0 ≤ n ≤ 255
Default: m = 0 (monochrome paper)
Description: Sets the paper type specified by m, as follows:
m Mode
0 monochrome (black) paper
1 two-color papers
This command will set the optimum parameter values in the thermal print
engine control hardware for defined monochrome or two-color paper
chemistry. The m n parameters select paper category and formulation
version respectively.
(m n = 0 0) defines the default monochrome (black category, initial version)
paper, out-of-box printers will also have factory preset descriptions for
customer selected color types: (m n = 1 0) red/black paper.
When issuing this command a value of n = 0xFF can always be use: that is
interpreted as requested the setting of the highest version defined in the
printer of that category. This is a save way for an application to always select
the latest of a manufacturer’s paper category, thus choosing “latest standard
red/black”.
An incorrect setting of m n for a two-color paper or non-standard
monochrome paper, or failure to set m n when a color paper is inserted will
result in poor print quality.
The last set paper type choice is stored in non-volatile memory and is
retained after a power loss and across reset commands. The initial value at
first boot after firmware load (or reload) is m n = 0 0.
Notes:
• For better printing results of the two-color paper use emphasized printing
mode.