A795 User Guide: Programming Supplement
Chapter 4: Programming commands
103
Erase user flash sector
ASCII
GS @ n
Hexadecimal
1D 40 n
Decimal
29 64 n
Value of n:
49 - 50
n = 49 (ASCII n = 1)
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)
This command erases all sectors available for user data
storage.
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).
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. 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 five seconds after sending the
erase user flash sector (1D 40 n) command
before sending data.
Содержание A795
Страница 1: ...A795 D100 PS UserGuide ProgrammingSupplement A795Two ColorThermalReceiptPrinter TM...
Страница 10: ...A795 User Guide Programming Supplement Chapter 1 About this Supplement 10...
Страница 110: ...A795 User Guide Programming Supplement Chapter 4 Programming commands 110...
Страница 118: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 118 Code page 737 Greek...
Страница 119: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 119 Code page 850 Multilingual...
Страница 120: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 120 Code page 852 Slavic...
Страница 121: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 121 Code page 858 with Eurosymbol...
Страница 122: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 122 Code page 860 Portuguese...
Страница 123: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 123 Code page 862 Hebrew...
Страница 124: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 124 Code page 863 French Canadian...
Страница 125: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 125 Code page 865 Nordic...
Страница 126: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 126 Code page 866 Cyrillic...
Страница 127: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 127 Code page 1252 Windows Latin 1...
Страница 128: ...189 9200281 E A795 D100 PS 05 01 TM...