Samsung SRP-275 Operator's Manual page 59

Pos impact dot matrix printer
Hide thumbs Also See for SRP-275:
Table of Contents

Advertisement

CHAPTER 5
CONTROL COMMANDS LIST
GS ( C pL pH m fn b <Function 4>
[Format]
ASCII
GS
(
Hex
1D
28
Decimal
29
40
[Range]
(pL + pHx 256) = 3 (pL = 3, pH = 0)
m = 0
fn = 4, 52
b = 0
[Description]
The printer sends the available NV user memory.
- ESC/POS Handshaking Protocol is not required for this function.
[Notes]
- With this function, the printer sends the "Header to NUL" data shown below:
Send data
Header
Identifier
Available Capacity (*1)
NUL
(*1) The available capacity indicates the number of bytes not being used.
- The decimal value for the available capacity is converted to ASCII character
data and sent from the most significant digit.
Example:
When 120 bytes is available (not being used), the number 120 is expressed
with 3 bytes of data (Hexadecimal: 31H, 32H, and 30H / decimal numbers
= 49, 50, and 48).
- See previous [Notes for transmission process] for process sending data
group.
5-48
C
pL
pH
m
fn
b
43
03
00
00
fn
00
67
3
0
0
fn
0
Hex
Decimal
Data quantity
37H
55
1 byte
29H
41
1 byte
30H - 39H
48 - 57
1-8 bytes
00H
0
1 byte
GS ( C pL pH m fn b <Function 5>
[Format]
ASCII
GS
(
C
pL
Hex
1D
28
43
03
Decimal
9
40
67
3
[Range]
(pL + pH x 256) = 3 (pL = 3, pH = 0)
m = 0
fn = 5, 53
b = 0
[Description]
Transmits the key code ID for the record stored in the NV user memory.
- ESC/POS Handshaking Protocol is required for this function.
[Notes]
- When record exists, the printer sends the "Header to NUL" data as shown
below:
Send data
Header
Identifier
Identification status (*1) (*2)
NUL
(*1) When the quantity of stored data exceeds 40 records, the printer performs
partial processing, using the following rules:
- If there is unsent data, the identification status of the third byte is
41H or 65 decimal.
- If there is no unsent data, the identification status of the third byte is
40H or 64 decimal.
(*2) The printer performs batch processing when the data to be stored in the
specified record is 40 records or less. At this time, the identification status
of the third byte is 40H or 64 decimal.
(*3) The data is the key code. A terminator is not included in the data.
- If the host specifies a nonexistent record, the printer sends the "Header to
NUL" data shown below :
Send data
Header
Identifier
Identification (*1) (*2)
NUL
pH
m
fn
b
00
00
fn
00
0
0
fn
0
Hex
Decimal
Data quantity
37H
55
1 byte
71H
113
1 byte
40H
64
1 byte
00H
0
1 byte
Hex
Decimal
Data quantity
37H
55
1 byte
71H
113
1 byte
40H
64
1 byte
00H
0
1 byte
5-49

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents