9-6. Command Trace
Ensure that paper is set in the printer. Turn off the power switch on the printer,
then turn it on again while pressing the FEED button on the control panel. This
outputs the printout shown in section 9-1.
Pressing the FEED button four times (Dual interface model:select 4.
Command Trace) or five times (Triple interface model:select 5. Command
Trace) enters command trace mode.
This mode prints all the data sent to the printer in ASCII format (with
ESC/POS command explanations). It can be used to analyze the ESC/POS
commands sent to the printer by the PC program.
To clear this mode, turn the power switch off and on again.
Command Trace Print (Example)
Command Trace
<1 B 4 0 :Initialize printer (ESC @)>
<1 B 4 D 0 2 :Set ANK font C (ESC M n)>
<1 B 7 4 8 0 :Set character code table (ESC t n)>
<1 D 4 2 0 0 :Disable reverse printing (GS B n)>
<1 B 6 1 0 2 :Set justification RIGHT (ESC a n)>
<1 C 2 E :Reset kanji mode (FS .)>
ABC
<0 A :Print and line feed (LF)>
a. Undefined commands or commands with abnormal command parameters are treated
as errors and printed with background and foreground reversed.
b. Meaningless and unnecessary commands are printed with an underline as a warning.
c. Command codes are printed in bold.
64