Control Codes
Page 148 100-88002 Rev B
Electronic Journal Entries
There are two ways to place information in the electronic journal. The first is by
selecting journal mode. The second is by requesting that validation or receipt
information is copied into the electronic journal.
If you select journal mode, information sent to the printer is not printed, but stored in
the flash memory. The information is stored as records in a linked list. Whenever a
“journal mode begin” command is received, a new record is started. When journal
mode is exited, the record is finished, closed and the link updated. This journal mode
is intended to be printed at a later time. No printer control codes are allowed in the
journal. Only [CR], [HT] and [LF] commands are allowed. Any other control character
will end the journal record. Use [EOT] or [NUL] to provide the most graceful exit from
journal mode.
The other way to place information in the electronic journal is with carbon copy mode.
In this mode select information sent to the validation or receipt station is carbon
copied into the electronic journal. A record is started with the “Electronic Journal
Begin” command and ended with the “Electronic Journal End” command. There is an
“Electronic Journal Suspend” and “Electronic Journal Resume” which allows some
information not to be saved.
[esc][P<12[esc]I<1>[esc]0[esc]a<1>
[ESC][@<4><0><0><0><34><2>[ESC]c<1>
QUICK MART[CR][LF]
[ESC][@<4><0><0><0><17><1>
1234 Rt1 Anytown,CT[CR][LF]
[esc]c<0>[esc]I<0>
203-123-4567[cr][lf]
[esc][P<15>[esc]a<0>[CR][LF]
[esc]l<3> Start journal record
---{Date:0} {Time:0:}--[cr][lf]
ST# 2000 OP# 00067 TE# 021 0035[CR][LF]
[esc]l<2> Suspend the record
KLEENEX FAM D04 QTY 1 1.68 J[CR][LF]
RITZ D01 QTY 1 2.50 D[CR][LF]
CHIPS D01 QTY 1 1.50 D[CR][LF]
STORAGE BAG D04 QTY 1 1.50 J[CR][LF]
[esc]<1> Resume the record
SUB TOTAL 8.68[CR][LF]
SALES TAX 1.50[CR][LF]
------[CR][LF]
TOTAL 10.18[CR][LF]
CASH TEND 20.00[CR][LF]
[ESC]c<1>
CHANGE DUE 9.82[CR][LF]
[ESC]c<0>
[esc]l<0> End the record
[esc]a<1>[LF][LF][ESC][@<4><0><0><0><34><2>
THANK YOU [CR][LF]
[ESC][@<4><0><0><0><17><1>
FOR SHOPPING WITH US[cr][lf]
[esc]a<0>[esc]d<15>[esc]v