Samsung SRP-275 Operator's Manual page 57

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 c1 c2 <Function 0>
[Format]
ASCII
GS
(
Hex
1D
28
Decimal
29
40
[Range]
(pL + pHx256) = 5 (pL = 5, pH = 0)
m = 0 fn = 0, 48
b = 0
32 ≤ c1 ≤ 126
32 ≤ c2 ≤ 126
[Description]
Deletes the specified record stored in the NV user memory.
The deleted area becomes an "unused" area available for storage.
[Notes]
- This command is valid only at the beginning of the line.
- You cannot include macros with this command, so do not use this command
while defining macros.
GS ( C pL pH m fn b c1 c2 d1...dk <Function 1>
[Format]
ASCII
GS
(
Hex
1D
28
Decimal 29
40
6 ≤ (pL + pH x 256) ≤ 65535 (0 ≤ pL ≤ 255, 0 ≤ pH ≤ 255)
[Range]
m = 0
fn = 1, 49
b = 0
32 ≤ c1 ≤ 126
32 ≤ c2 ≤ 126
32 ≤ d ≤254
k = (pL + pHx 256) -5
5-44
C
pL
pH
m
fn
b
c1 c2
43
05
00
00
fn
00
c1 c2
67
5
0
0
fn
0
c1 c2
C
pL
pH
m
fn
b
c1
c2
d1...dk
43
pL
pH
00
fn
00
c1
c2
d1...dk
67
pL
pH
0
fn
0
c1
c2
d1...dk
[Description]
Stores data ( d1... dk) in the record specified by parameters c1 and c2
(the key code ID numbers).
- When the specified record already exists, the data is overwritten.
- A terminator is automatically assigned.
[Notes]
- This command is valid only at the beginning of the line.
- This function uses the "data quantity (k) + 3 byte" area for execution.
- You cannot use this command when the NV user memory does not have
enough capacity to store the specified records.
The available capacity is confirmed by Function 4.
GS ( C pL pH m fn b c1 c2 <Function 2>
[Format]
ASCII
GS
(
C
pL
Hex
1D
28
43
05
Decimal
29
40
67
5
[Range]
(pL + pHx 256) = 5 ( pL = 5, pH = 0)
m = 0
fn = 2, 50
b = 0
32 ≤ c1 ≤ 126
32 ≤ c2 ≤ 126
[Description]
Transmits the data for the record with the ID code specified by parameters c1,
c2 in the NV user memory.
- ESC/POS Handshaking Protocol is required for this function.
pH
m
fn
b
c1 c2
00
00
fn
00
c1 c2
0
0
fn
0
c1 c2
5-45

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents