SATO CL4NX Programming Reference Manual page 508

Hide thumbs Also See for CL4NX:
Table of Contents

Advertisement

3) BCC check function
BCC (Block Check Code) is 1 byte data that is a result of calculation of XOR for one item of send data (<A>~<Z>). When sending
a data to the printer from the host, you need to put BCC at the end of data (following to <Z>) of every items.
The printer calculates the BCC of every items of received data and checks the validity of the received data by comparing it with the
BCC in the received data. When the calculated BCC is not the same as the BCC in the received data, the printer judges the data
is incorrect, arises BCC error and stops printing.
There are 3 ways to release the BCC error.
Press the right soft
Send SUB command
Press the left soft
Calculation range of BCC
Print Data
STX
<A>
[Supplemental explanation]
1. The BCC check is targeted only for the print data. Data without printing such as register data or printer setting commands
are not targeted.
2. The data within <A>~<Z> is the calculation range of the BCC.
3. BCC will be calculated by using exclusive OR to the data in the calculation range.
The printer will resume the printing from the print data with the BCC error.
button
The printer will resume the printing after releasing the BCC error.
Upon reception of this command, it is possible to select if you want to print or cancel the
data with the error.
The printer will cancel the entire print data and resume the printing from the next print data.
button
<ID>00001
Calculation range of BCC
Print Data
500
<Z>
BCC
ETX

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cl6nx

Table of Contents