150 ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual
Appendix A — Error-Handling
Error-Handling Principles
e firmware is able to handle a number of error conditions. Code num-
bers represent the different error cases.
e printer controls output of the error code and its format and wait
until the error recovery is performed for each special error-code.
Error action source
A: Command errors
e biggest group of error codes is command format and data informa-
tion error. It exists errors of type “Syntax error” to more sophisticated like
“Form or image name duplicate.” (See error type A.)
B: Printing error
Print out error occurs, when the printing the label not is correctly per-
formed, such as “Out of media”, “printhead lifted”, and “cutting not
completed.” (See error type B, C, and D.)
C: Status
A status error performs normally not a true error case, but in some matter
it has to be detected. A typical case is “LTS-detection waiting.” (See error
type E.)
D: Special modes
Some special feature errors will hang the printer for ever or have a
complete other output. Typical of this group errors are: “Flashing not
completed” or “Dump mode.” (See error type F and G.)
Error action output information
e error code will often be written in the upper left corner of the label,
like “ERR01.” e Error LED will go red and the display (if any) shows
information on the error.
Serial Port (RS-232 or USB)
Output on serial line when error occurs is depending on some setup com-
mands.
e commands UN and US turn off or on most of the error output
information.
e command eR specifies the format of the error output information.
Parallel Port
At an error, the parallel port will mark error status by setting pin 12 in
active state.