TH320/TH420
Programmers Guide
129
Electronic Journal Storage Commands
1F 0A C1
Enable Auto Journal Mode
Commands and data printed on the receipt are also saved in the journal flash buffer.
1F 0A C2
Disable Auto Journal Mode
Exits Auto Journal Mode. Data stored in the journal RAM buffer is written to the journal flash buffer.
1F 0A C3
Clear Journal
Erase the journal flash buffer. Printer goes busy at the communication interface while the flash is being
erased. Application should not send any further data or commands until printer goes not busy at the
communication interface. Printer returns a 0x0D when the erase is complete. At this point the
application can resume sending data to the printer.
1F 0A C4
Print Journal
Prints contents of journal data saved in flash. Printer goes busy at the communication interface.
Application should not send any further data or commands until printer goes not busy at the
communication interface. If paper runs out, printing will pause until a new roll is loaded, then resume
where it left off.
Points to note when printing the journal:
Receipt character attributes and bar code attributes are set to their default values before
and after printing the journal.
Receipt station is selected.
Macro definitions are not cleared.
If the macro execution command is in the journal, the macro definition should be in the
journal also. If not, the printed journal might look ok before a power cycle when the macro
definition is still in memory. After a power cycle the macro definition will be gone.
If User Defined characters are printed, their definitions (0x1B 0x26 ….) should be stored in
flash (via 0x1D 0x22 0x33) and their selection command (0x1B 0x25 0x01) should be in the
journal buffer.
1F 0A C5
Return Journal Status
Return one byte of status.
bit 0 = 0 > > Write to flash successful bit 0 = 1 >> Write to flash fail
bit 1 = 0 > > RAM allocation for journal data successful bit 1 = 1 >> RAM allocation for journal data fail
bit 2 = 0 > > Auto Journal Disabled bit 2 = 1 >> Auto Journal Enabled
bit 3 = 0 > > Direct Journal Disabled bit 3 = 1 >> Direct Journal Enabled
1F 0A C6
Return Journal Flash Size
Return two 3-byte counts in hexadecimal notation, as n1 n2 n3 and m1 m2 m3.
Journal flash buffer total size = (n1 *0 x 10000+ n2 *0 x 100 + n3) = (n1 *65,536 + n2 *256 + n3)
decimal
Journal flash buffer used = (m1*0 x 10000 + m2* 0 x 100 + m3) = (m1 *65,536 + m2 *256 + m3)
decimal
Содержание TH320
Страница 1: ...TH320 TH420 Two Color Thermal Impact Hybrid Printer Programmers Guide ...
Страница 75: ...TH320 TH420 Programmers Guide 67 ...
Страница 121: ...TH320 TH420 Programmers Guide 113 Character Sets Character code 437 USA Standard Europe ...
Страница 122: ...Programmers Guide TH320 420 114 Codepage 737 Greek ...
Страница 123: ...TH320 TH420 Programmers Guide 115 Codepage 850 Multilingual ...
Страница 124: ...Programmers Guide TH320 420 116 Codepage 852 Slavic ...
Страница 125: ...TH320 TH420 Programmers Guide 117 Codepage 857 Turkish ...
Страница 126: ...Programmers Guide TH320 420 118 Codepage 858 with Euro symbol ...
Страница 127: ...TH320 TH420 Programmers Guide 119 Codepage 860 Portuguese ...
Страница 128: ...Programmers Guide TH320 420 120 Codepage 862 Hebrew ...
Страница 129: ...TH320 TH420 Programmers Guide 121 Codepage 863 French Canadian ...
Страница 130: ...Programmers Guide TH320 420 122 Codepage 865 Nordic ...
Страница 131: ...TH320 TH420 Programmers Guide 123 Codepage 866 Cyrillic ...
Страница 132: ...Programmers Guide TH320 420 124 Codepage 1252 Windows Latin 1 ...
Страница 134: ...Programmers Guide TH320 420 126 Codepage 1255 Hebrew ...
Страница 142: ...Programmers Guide TH320 420 134 TH420 Additional Features ...
Страница 156: ......
Страница 157: ...TH320 TH420 Programmers Guide Wincor Nixdorf International GmbH D 33094 Paderborn ...