SATO CL4NX Programming Reference Manual page 636

Hide thumbs Also See for CL4NX:
Table of Contents

Advertisement

3) BCC check functionality
BCC (Block Check Code) is 1 byte of data calculated XOR of 1 send data (<A>-<Z>). BCC shall be
added to the end of data (<Z>) per item for host to send data to this product.
This product checks the validity of receiving data by calculating BCC per data item being received
and compares it with sent BCC. When those BCC are different, this product judges that receiving
data is incorrect and causes [BCC error] before printing the item then stops printing operation.
 
The following is the cancellation method of BCC error.
Press right soft key
Send SUB command
Left soft key
 
Calculation range of BCC
Print data
STX
 
[Supplementary explanation]
Print data is only target for BCC check. Error will not be detected for error which does not
require printing operation like registration data or printer setting command etc.
Add only data, which starts from data transmission start <A> and ends at data transmission <Z>
for BCC.
BCC calculates exclusive OR for data in the calculation range.
4) Cancel request command
This command cancels all items.
 
[Command]
SOH(HEX 01H) + CAN(HEX 18H)
 
[Format]
STX + SOH + CAN + aaaaa + ETX
Parameter
a      [Item No.]
                     
1. Parameter is always 5 digits
2. Parameter [*] is [HEX 2AH]
3. Cancel all items regardless of Item No.
 
Resume printing from print data with BCC error
Resume printing where it left off after cancelling BCC error.
This commands able to specify whether to print data with error or cancel the data
Cancel all print data then resume printing from the next item
<A>
<ID>00001
Valid range  :     00000 to 99999
Print data
BCC calculation range
          *****
634
<Z>
BCC
ETX

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cl6nx

Table of Contents