Specifications

TH230/TH230+ Programmers Guide
89
GS “ U
Function:
Flash Memory User Sectors Allocation
Code ASCII: GS U n1 n2
Code HEX: 0x1D 0x22 0x55 n1 n2
Range:
0 n1 ≤ 8
0 ≤ n2 ≤ 8
n1 + n2 <= 8 is equivalent to 512k user memory
Description:
n1 is the number of 64k sectors used for logos and user-defined characters.
n2 is the number of 64k sectors used for user data storage.
This command sets the allocation of flash sectors among user data storage,
logos/user-defined characters, and electronic journal. This allocation is
saved in the EEPROM of the printer and is therefore saved across power
cycles.
The printer will respond to the flash allocation command being sending ACK
(0x06) or NAK (0x15).
n1 + n2 <= 8 is equivalent to 512k user memory
Notes:
Flash memory is made up of user and program code. Therefore, the
available flash memory space will vary with the amount of program code
utilized.
If n1 + n2 is greater than the maximum number of sectors available, the
command is ignored and the printer responds with NAK (0x15).
Issuing this command with parameters different from current
parameters will erase all sectors.
The logo/user-defined character memory and the user datastorage
shared the 512K user memory with some header data. Follow sizes have
to subtract form the 512K:
1K Flash info
4 Byte partition header logo/user-defined character memory
4 Byte partition header user data storage
If n1 or n2 = 0 the minimal size of partition header will be left
If n1 and n2 = 0 the command will be ignored