SATO SG112 ex Programming Reference Manual page 391

Hide thumbs Also See for SG112 ex:
Table of Contents

Advertisement

[ESC+IR] Internal Buffer Registration (Received Data)
Hexadecimal code
Initial value
Valid range and term of
command
[Function]
Acquire received data from the sub port.
It is possible to store acquired data up to 32 digits for 16 blocks in the internal buffer (RAM).
The stored data can be recalled by Internal Buffer Recall <IB> to be used as print data.
[Format]
<IR> aa,bb(,cccc)(,d)(,eeee)(,ffffff)(,gggg...g)
-
Parameter
a [Internal buffer number]
             Valid range : 1 to 16
b [Acquired digit]   
c [Received data import start position]
           
d [Digit of terminate code]
e [Terminate code]       No code range specification, 4 digits   (Omissible)
f [Timeout time]     
       When this parameter is omitted, the printer will not be proceeded to the next command
       analysis until data for specified digit are received.
g [Data item name]   
[Coding Example 1]
Store the received 6 byte data to the internal buffer (Start code, terminate code, time out time and
data item name are omitted)
<A>
<IR>1,6
<Z>
 
Host
ESC
<1B>
16
None
When the power is OFF
Valid range within items
Valid range between items
Valid range : 1 to 32
Valid range : 0 to 999 (Omissible)
Valid range : 1 to 4   (Omissible)
Valid range : 0 to 999999(1=5ms)   (Omissible)
Valid range : Only alphanumeric and symbols 16 digits (Omissible)
(2) Received data "123456"
Sub port
(1) Send <IR>
Data port
This product
IR
<49>
<52>
16
16
The set parameter is not maintained.
The set parameter becomes invalid.
The set parameter becomes invalid.
External
peripherals
No.
01
(3) Store the data
02
03
.
.
.
16
390
Parameter
aa,bb(,cccc)(,d)(,eeee)(,ffffff)
(,gggg...g)
Internal buffer
Item name
Number
of digits
6
123456
0
0
.
.
.
.
.
.
0
Data
.
.
.

Advertisement

Table of Contents
loading

Table of Contents