SATO SG112 ex Programming Reference Manual page 420

Hide thumbs Also See for SG112 ex:
Table of Contents

Advertisement

History Function
The process status of the received print data (item) will be saved in the history buffer. The process
status can be acquired by item status request command.
 
[Memory configuration]
Usage
Receive buffer
History buffer
 
[History data configuration]
No.
1
Control flag
2
Item No.
3
Status
00: Received
01: Printed
02: Cancel
03: Item No. error.
04: BCC error
05: Print after error
06: Cancel after error
07: Analyzed item with no print
08: Unprocessed error (items that are not processed before
power off the product)
 
[Supplementary Explanation]
-
The item No. will be "*****", the status will be "3" when there is no item No. command in the
received data or the item No. command is illegal. There will be item No. error and the printing
will be stopped at the start of this item print.
-
The history data will be saved in the internal memory. The status will be maintained after printer
off to on. However, when item status before the power off is 00: received, 03: item No. error,
04: BCC error, or 05: print after error, the receive data will not be saved and these will be 08:
unprocessed error.
Item Status Obtaining Command
This command searches for the specified item number from the end of history buffer and returns the
status of target item to host.
 
[Command]
SOH(HEX 01H) + ENQ(HEX 05H)
Type
RAM
SFROM
Description
419
Size
2.95 MB
4 KB
Number of bytes (Total: 8 bytes)
1
5
2
Remarks
The maximum register
items: 500 items (ring
buffer)
The history data will be
maintained even power of
this product is off.

Advertisement

Table of Contents
loading

Table of Contents