SATO /gt Series Programmer's Reference Manual page 166

E+ programming reference
Hide thumbs Also See for /gt Series:
Table of Contents

Advertisement

Unit 6: Bi-Directional Communications
ITEM NUMBER CHECK
The printer checks the item number of received print data whether the number is increasing one
(1) to every item. If an error is detected, the printer activates "ITEM NUMBER ERROR" at the
beginning of that item's print operation ceases printing. The item number error can only be
detected if the Check of Item Number is enabled.
In addition to various printer keypad functions, a BCC error may be released by either sending a
SUB command or a CAN command.
Specify the item number starting from "00000" after powering on the printer. Note that print data
is the subject of the check of item number and that error detection is not performed for the data
that does not accompany print operation - such as registered data and printer setup command.
For such data, specify "*****" for its item number.
When specifying the item number with <ESC>IQ, the command for the designation of Start Item
Number, the start number for the next data becomes the item number specified in <ESC>IQ.
BCC CHECK (BLOCK CHECK CODE)
The printer checks the accuracy of received data by calculating BCC based on the received data
of every item and comparing such BBC to the other BBC that was sent. If both BCC do not
match, the printer recognizes the received data as incorrect data, activates BCC ERROR at the
start of the print operation of that item and then stops the operation.
When the host sends data to the printer, add BCC to the end of the data (<ESC>Z) at every item.
A single byte data calculated XOR of one item (<ESC>A - <ESC>Z) of sent data is as BCC.
Note that print data is subject to the check of BCC. Error detection is not performed for the data
that does not accompany print operation such as registered data and printer setup commands.
BCC adds the data located between the start and end of data (<ESC>A - <ESC>Z).
In addition to various printer keypad functions, a BCC error may be released by either sending a
SUB command or a CAN command.
DESIGNATION OF START ITEM NUMBER (ESC + IQ)
This command transmits the item number of the print data that is firstly sent by the host to the
printer. The printer recognizes the value that added one (1) to the item number specified by this
command as the item number of print data to be received afterward.
Avoid the inclusion and use of this command in the print data (<ESC>A - <ESC>Z). Note that five
(5) digits are required and that when specifying "99999" the next item number wil be "00000".
SATO E+ Programming Reference
PN 9001149A
Page 6-6

Advertisement

Table of Contents
loading

Table of Contents