Printing and erasing the journal flash buffer – CognitiveTPG B780 User Manual

Page 189

Advertising
background image

Appendix C: Electronic Journal

A776-PG00001 C 12/09

A776 (B780) Programming Guide

177

Printing and Erasing the Journal Flash Buffer:

Operator Activation of Journal Print and Erase

Enabled via 1F 03 2E 01. Disabled via 1F 03 2E 00. Enabled and disabled also via the config menu under the
Emulation/Software Options sub-menu. Default is disabled. Option prints on diagnostic Form II:

Journal print via Command Only

(when disabled)

Journal print via Operator

(when enabled)

Printing Journal via Operator (when enabled):

1) Open the receipt cover.

2) Press the paper feed button three times quickly, about a half second each. A short tone will sound each time. If you
press the feed button too long, or wait too long between depressions, a longer tone will sound and the sequence is
aborted; you have to start over.

3) Close the receipt cover.

If there is nothing in the journal, the message “No Flash journal” prints out on the receipt. If there is something in the
journal, it prints on the receipt, followed by a query to the operator printed on the receipt:

Erase journal?

Yes --> Long click

No --> Short click

1F 0A C3 Clear Journal

Erases 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.

Advertising
This manual is related to the following products: