SATO SG112 ex Programming Reference Manual page 424

Hide thumbs Also See for SG112 ex:
Table of Contents

Advertisement

BCC C HECK ERRO R
* The BCC error will be detected only when the BCC Check check is enabled.
 
The following is the cancellation method of BCC error.
Press [LINE] key
Send SUB command
Send CAN command
Press [Cancel] 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.
Cancel Request Command
This command searches for the specified item number from the end of history buffer and cancels the
target item. However, when the status of the specified item is "Printed", this command is disabled.
 
[Command]
SOH(HEX 01H) + CAN(HEX 18H)
 
[Format]
STX + SOH + CAN + aaaaa + ETX
-
Parameter
a      [Item No.]
                     
1. Parameter must be 5 digits.
2. Parameter [*] is [HEX 2AH].
3. When "*****" is specified as the parameter, all the data that status are "Printed" in the
history buffer will be canceled.
 
Resume printing from print data with BCC error.
Resume printing where it left off after canceling BCC error.
This commands able to specify whether to print data with error or cancel the data.
Cancel print data with BCC error then resume printing from the next item.
<A>
<ID>00001
Calculation range of BCC
Valid range  :     00000 to 99999
Print data
    *****
423
<Z>
BCC
ETX

Advertisement

Table of Contents
loading

Table of Contents