Samsung SRP-275CEPG Operation Manual - Page 57

Samsung SRP-275CEPG - Bixolon Two-color Dot-matrix Printer Manual

Page 57 highlights

CHAPTER 5 CONTROL COMMANDS LIST GS ( C pL pH m fn b c1 c2 [Format] ASCII GS ( C pL pH m fn b c1 c2 Hex 1D 28 43 05 00 00 fn 00 c1 c2 Decimal 29 40 67 5 0 0 fn 0 c1 c2 [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 [Format] ASCII GS ( C pL pH m fn b c1 c2 Hex 1D 28 43 pL pH 00 fn 00 c1 c2 Decimal 29 40 67 pL pH 0 fn 0 c1 c2 [Range] 6 ≤ (pL + pH x 256) ≤ 65535 (0 ≤ pL ≤ 255, 0 ≤ pH ≤ 255) m = 0 fn = 1, 49 b = 0 32 ≤ c1 ≤ 126 32 ≤ c2 ≤ 126 32 ≤ d ≤254 k = (pL + pHx 256) -5 d1...dk d1...dk d1...dk 5-44 [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 [Format] ASCII GS ( C pL pH m fn b c1 c2 Hex 1D 28 43 05 00 00 fn 00 c1 c2 Decimal 29 40 67 5 0 0 fn 0 c1 c2 [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. 5-45

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110

5-45
[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.
5-44
GS ( C pL pH m fn b c1 c2 <Function 0>
[Format]
ASCII
GS
(
C
pL
pH
m
fn
b
c1 c2
Hex
1D
28
43
05
00
00
fn
00
c1 c2
Decimal
29
40
67
5
0
0
fn
0
c1 c2
[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
(
C
pL
pH
m
fn
b
c1
c2
d1...dk
Hex
1D
28
43
pL
pH
00
fn
00
c1
c2
d1...dk
Decimal
29
40
67
pL
pH
0
fn
0
c1
c2
d1...dk
[Range]
6
(pL + pH x 256)
65535 (0
pL
255, 0
pH
255)
m = 0
fn = 1, 49
b = 0
32
c1
126
32
c2
126
32
d
254
k = (pL + pHx 256) -5
GS ( C pL pH m fn b c1 c2 <Function 2>
[Format]
ASCII
GS
(
C
pL
pH
m
fn
b
c1 c2
Hex
1D
28
43
05
00
00
fn
00
c1 c2
Decimal
29
40
67
5
0
0
fn
0
c1 c2
[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.
CONTROL COMMANDS LIST
CHAPTER 5