TH210
Programmer’s Guide
104
n = 49 (ASCII n = 1) HEX 31
This command erases all 64K flash memory sectors allocated to user-defined character and logos
storage. Those sectors should be erased in two situations: when the logo definition area is full and
an application is attempting to define new logos, and when an application wants to replace one
user-defined character set with another. In both cases, all logos and character set definitions are
erased and must be redefined.
n = 50 (ASCII n = 2) HEX 32
This command erases all sectors available for user data storage.
n = 51 (ASCII n = 3) HEX 33
This command erases all sectors available for permanent fonts.
Erases a page of flash memory and sends a carriage return when the operation is complete.
Related information
See command “Flash memory user sectors allocation” (1D 22 55 n1 n2).
See also command “Expanded flash memory allocation” (1D 22 80) and “Select flash area” (1D 22
81 n).
Important: While erasing flash memory, the printer disables all interrupts, including
communications. To provide feedback to the application, the printer responds to the application
when the erase is complete with a 0D (Hex). After sending the erase user flash sector (1D 40 n)
command, an application should wait for the response from the printer before sending data.
Otherwise, data will be lost. If an application is unable to receive data, it should wait a minimum of
ten seconds after sending the erase user flash sector (1D 40 n) command before sending data.
Lock permanent font flash area
ASCII
GS 0xF0 0x10
n
Hexadecimal
1D F0 10
n
Decimal
29 240 16
n
Value of n:
n = 0x00
lock permanent font flash (default)
n = 0x01
unlock permanent font flash to erase or delete
This command allows or prevents the permanent font area to be erased.
Note: This only affects the 1D 40 33 commands and downloading a font to permanet font area
when a font already exists with the same ID.
Flash download
These commands are used to load firmware into the printer.
The commands are listed in numerical order according to their hexadecimal codes. Each command
is described and the hexadecimal, decimal, and ASCII codes are listed.
There are two ways to enter the download mode.
1.
While the printer is running normally, send the command, “Switch to flash download
mode” (1B 5B 7D) to leave normal operation and enter the download mode.
2.
If the flash if found corrupted during level 0 diagnostics the download mode is
automatically entered after the printer has reset.
Содержание TH210
Страница 1: ...TH210 Thermal Printer Programmer s Guide December 2015 ...
Страница 123: ...TH210 Programmer s Guide 119 Character code table Page 1 PC850 Multilingual Latin I ...
Страница 124: ...TH210 Programmer s Guide 120 Character code table Page 2 PC852 Latin II ...
Страница 125: ...TH210 Programmer s Guide 121 Character code table Page 3 PC860 Portuguese ...
Страница 126: ...TH210 Programmer s Guide 122 Character code table Page 4 PC863 Canadian French ...
Страница 127: ...TH210 Programmer s Guide 123 Character code table Page 5 PC865 Nordic ...
Страница 128: ...TH210 Programmer s Guide 124 Character code table Page 6 PC858 Multilingual I Euro ...
Страница 129: ...TH210 Programmer s Guide 125 Character code table Page 7 PC866 Russian ...
Страница 130: ...TH210 Programmer s Guide 126 Character code table Page 8 WPC1252 Latin I ...
Страница 131: ...TH210 Programmer s Guide 127 Character code table Page 9 PC862 Hebrew ...
Страница 132: ...TH210 Programmer s Guide 128 Character code table Page 10 PC737 Greek ...
Страница 133: ...TH210 Programmer s Guide 129 Character code table Page 11 PC874 Thai ...
Страница 134: ...TH210 Programmer s Guide 130 Character code table Page 12 PC857 Turkish ...
Страница 135: ...TH210 Programmer s Guide 131 Character code table Page 13 WPC1251 Cyrillic ...
Страница 136: ...TH210 Programmer s Guide 132 Character code table Page 14 WPC1255 Hebrew ...
Страница 137: ...TH210 Programmer s Guide 133 Character code table Page 15 KZ_1048 Kazakh ...
Страница 138: ...TH210 Programmer s Guide 134 Character code table Page 16 WPC1254 Turkish ...
Страница 139: ...TH210 Programmer s Guide 135 Character code table Page 17 WPC1250 Central Europe ...
Страница 140: ...TH210 Programmer s Guide 136 Character code table Page 18 WPC28591 Latin 1 ...
Страница 141: ...TH210 Programmer s Guide 137 Character code table Page 19 WPC28592 Latin 2 ...
Страница 142: ...TH210 Programmer s Guide 138 Character code table Page 20 WPC28599 Turkish ...
Страница 143: ...TH210 Programmer s Guide 139 Character code table Page 21 WPC28605 Latin 9 ...
Страница 144: ...TH210 Programmer s Guide 140 Character code table Page 22 PC864 Arabic ...
Страница 145: ...TH210 Programmer s Guide 141 Character code table Page 23 PC720 Arabic ...
Страница 146: ...TH210 Programmer s Guide 142 Character code table Page 24 WPC1256 Arabic ...
Страница 147: ...TH210 Programmer s Guide 143 Character code table Page 25 WPC28596 Arabic ...
Страница 148: ...TH210 Programmer s Guide 144 Character code table Page 26 KATAKANA Asia ...
Страница 149: ...TH210 Programmer s Guide 145 Character code table Page 27 PC775 Baltic ...
Страница 150: ...TH210 Programmer s Guide 146 Character code table Page 28 WPC1257 Baltic ...
Страница 151: ...TH210 Programmer s Guide 147 Character code table Page 29 WP28594 Baltic ...