Cognitive Solutions A776 All in One Printer User Manual


 
Appendix C: Electronic Journal
178
A776 (B780) Programming Guide A776-PG00001 C 12/09
1F 0A C5 Return Journal Status
Returns one byte of status.
bit 0 = 0 >> Write to ash successful
bit 0 = 1 >> Write to ash 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
1F 0A C6 Return Journal Flash Size
Returns two 3-byte counts in hexadecimal notation, as n1 n2 n3 and m1 m2 m3.
Journal ash buer total size = (n1 * 0x10000 + n2 * 0x100 + n3)
= (n1 * 65,536 + n2 * 256 + n3) decimal
Journal ash buer used = (m1 * 0x10000 + m2 * 0x100 + m3)
= (m1 * 65,536 + m2 * 256 + m3) decimal
Journal ash buer total size corresponds directly to this line on the diagnostics form:
Flash Journal Size : nnnn kbytes
Journal ash buer used corresponds inversely to this line on the diagnostics form:
Journal Unused : mmmm kbytes
1F 0A C7 Write Journal RAM Data to Flash
Writes the journal data in RAM to Flash and marks it as a complete journal entry with two print commands: 0x0A
0x0A. Printer goes busy at the communication interface while the ash is being written. Application should not send
any further data or commands until printer goes not busy at the communication interface.