TH320/TH420
Programmers Guide
131
Print Journal Entry Mode
This feature allows an application to print selected information from the electronic journal flash buffer.
There are two modes of saving information in the electronic journal flash buffer: Auto Journal Mode
and Direct Journal Mode. It is expected that an application will use one or the other exclusively,
depending on the information to be saved. The Print Journal Entry Mode feature has commands to
print from both types of journal storage. A mix of Auto Journal Mode data and Direct Journal Mode
data stored in the journal flash buffer could yield unexpected results in Print Journal Entry Mode
output.
Page Mode data stored in the journal flash buffer could yield unexpected results in Print Journal Entry
Mode output.
Print Journal Entry considerations in Auto Journal Mode
Most commands and data printed on the receipt are also saved in the journal flash buffer.
Multiple line feeds are not saved in the journal flash buffer.
A knife cut is saved in the journal flash buffer as two print commands: 0x0A 0x0A.
A “Journal Entry” is considered to be the commands and data between knife cuts.
These commands described below move to and print information stored in Auto Journal
Mode:
0x1F 0x0A 0xD3 Move to End of Journal (most recent entry)
0x1F 0x0A 0xD4 Move to Start of Journal (least recent entry)
0x1F 0x0A 0xD5 Move to next Journal entry (towards more recent entry)
0x1F 0x0A 0xD6 Move to previous Journal entry (towards less recent entry)
0x1F 0x0A 0xDA Print Journal Entry (knife cut to knife cut)
Print Journal Entry considerations in Direct Journal Mode
Application controls all commands and data saved in the journal flash buffer.
Any of these print commands is considered to be one line in Print Journal Entry Mode:
0x0A
0x 0D (0 x 0D 0 x 0A is considered one line, not two)
0x17
0x1B 0x4A n
0x1B 0x64 n
Multiple lines feeds are stored in the journal flash buffer if sent by the application while in
Direct Journal Mode, so printing
n
lines could include leading and trailing blanks lines.
Parameter bytes or graphics data equal to 0x0A, 0x0D, or 0x17 will be misinterpreted as
end of line designators in Print Journal Entry Mode for the Move n lines commands. The
result will be a failure to move back or forward enough to print the desired lines. A
subsequent Move n lines command will resolve the issue.
These commands described below move to and print information stored in Direct Journal
Mode:
0x1F 0x0A 0xD4
Move to Start of Journal (first line in journal buffer)
0x1F 0x0A 0xD7 n
Move back n lines (towards less recent)
0x1F 0x0A 0xD8 n
Move forward n lines (towards more recent)
0x1F 0x0A 0xD9 n
Print n
Lines
Summary of Contents for TH320
Page 1: ...TH320 TH420 Two Color Thermal Impact Hybrid Printer Programmers Guide ...
Page 75: ...TH320 TH420 Programmers Guide 67 ...
Page 121: ...TH320 TH420 Programmers Guide 113 Character Sets Character code 437 USA Standard Europe ...
Page 122: ...Programmers Guide TH320 420 114 Codepage 737 Greek ...
Page 123: ...TH320 TH420 Programmers Guide 115 Codepage 850 Multilingual ...
Page 124: ...Programmers Guide TH320 420 116 Codepage 852 Slavic ...
Page 125: ...TH320 TH420 Programmers Guide 117 Codepage 857 Turkish ...
Page 126: ...Programmers Guide TH320 420 118 Codepage 858 with Euro symbol ...
Page 127: ...TH320 TH420 Programmers Guide 119 Codepage 860 Portuguese ...
Page 128: ...Programmers Guide TH320 420 120 Codepage 862 Hebrew ...
Page 129: ...TH320 TH420 Programmers Guide 121 Codepage 863 French Canadian ...
Page 130: ...Programmers Guide TH320 420 122 Codepage 865 Nordic ...
Page 131: ...TH320 TH420 Programmers Guide 123 Codepage 866 Cyrillic ...
Page 132: ...Programmers Guide TH320 420 124 Codepage 1252 Windows Latin 1 ...
Page 134: ...Programmers Guide TH320 420 126 Codepage 1255 Hebrew ...
Page 142: ...Programmers Guide TH320 420 134 TH420 Additional Features ...
Page 156: ......
Page 157: ...TH320 TH420 Programmers Guide Wincor Nixdorf International GmbH D 33094 Paderborn ...