Citizen Systems BD2-2220 Printer User Manual


 
- 114 -
fn=250 Function 2 Sending Data Stored in Specified Record
GS ( C pL pH m fn b c1 c2
[Code] <1D>H<28>H<43>H<pL><pH><m><fn><b> [c1 c2]
[Range] (pL+pH×256)=5(pL=5pH=0)
m=0
fn=250
b=0
32c112632c2126
[Outline] [The specification which is common to the model]
Sends data stored in the record specified by c1, c2 in user NV memory.
Hex. Decimal Data Size
Header 37H 55 1byte
Identifier 70H 112 1byte
Status 40H or41H 64 or 65 0~80bytes
Data 20H~FEH 32~254 1byte
NUL 00H 0 1byte
Transmission data in case specified record cannot be detected is as shown below.
Hex. Decimal Data Size
Header 37H 55 1byte
Identifier 70H 112 1byte
Status 40H 64 1byte
NUL 00H 0 1byte
When 40 or more key codes exist, they are divided in units of 40 maximum and the rest to
be sent.
Status with a group of consecutive transmit data groups is 41H.
Status without a group of consecutive transmit data is 40H.
After sending [Header - NUL], a response is received from host and next processing
corresponding to the response is executed.
• In case of “Status (with continuous block): hexadecimal number = 41H / decimal number = 65”
Response
Content of Processing
ASCII Decimal
ACK 6
Sends next data group.
NAK 21
Resends previous data group.
CAN 24
Cancels processing.
• In case of “Status (last block): hexadecimal number = 40H / decimal number = 64”
Response
Content of Processing
ASCII Decimal
ACK 6
Terminates processing.
NAK 21
Resends previous data group.
CAN 24
Cancels processing.