Samsung 275C User Manual - Page 56

<Function 6&gt

Page 56 highlights

GS ( C pL pH m fn b d1 d2 d3 [Format] [Range] [Description] ASCII GS ( C pL pH m fn b d1 d2 d3 Hex 1D 28 43 06 00 00 fn 00 43 4C 52 Decimal 29 40 67 6 0 0 fn 0 67 76 82 (pL + pH x 256) = 6 (pL = 6, pH = 0) m = 0 fn = 6, 54 b = 0 d1 = 67 d2 = 76 d3 = 82 The printer deletes all records stored in the NV user memory. - All area is changed to unused area. GS ( D [Name] [Format] [Range] [Default] [Description] Enable/disable real-time command ASCII GS ( D pL pH m [a1 b1]...[ak bk] Hex 1D 28 44 pL pH 14 [a1 b1]...[ak bk] Decimal 29 40 68 pL pH 20 [a1 b1]...[ak bk] (pL + pH x 256) = 3, 5 (pL = 3, 5, pH = 0) m = 20 a = 1 b = 0, 1, 48, 49 a = 1/ b = 1 (DLE DC4 fn m t ( n = 1): enable) Specifies enable or disable of a real-time command. - pL, pH sets the number of parameters after pH (m and [a1 b1]...[ak bk]) to (pL + pH x 256) bytes. - a specifies the type of real-time command. - b specifies enable/disable of real-time command processing. a b Real-time command type 1 0, 48 Disable DLE DC4 n m t ( n = 1): output a specified pulse in real-time (It does not process) 1, 49 Enable DLE DC4 n m t ( n = 1): output a specified pulse in real-time (It does process) DLE DC4 n m t (n=1): output a specified pulse in real-time. GS ( E [Name] [Format] [Description] User setup commands ASCII GS ( E pL pH fn [parameters] Hex 1D 28 45 pL pH fn [parameters] Decimal 29 40 69 pL pH fn [parameters] Controls the user setting modes. The table below explains the functions available in this command. - The value of fn specifies the function. fn 1 Function1 2 Function2 3 Function3 4 Function4 5 Function5 6 Function6 11 Function11 12 Function12 Function Changes into the user setting mode Ends user setting mode session. (Performs a software reset.) Changes the Memory Switch Transmits the host the value for the Memory Switch Changes the customized setting values Transmits the customized setting values Sets communication condition of serial interface Transmits communication condition of serial interface - pL and pH specify the number of bytes for the parameters following pH (fn and [a1 b1] ... [ak bk]) as(pL + pH x 256). 4-20

  • 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

4-20
GS ( C
p
L
p
H
m fn b d1 d2 d3
<Function 6>
[Format]
ASCII
GS
(
C
p
L
p
H
m
fn
b
d1
d2
d3
Hex
1D
28
43
06
00
00
fn
00
43
4C
52
Decimal
29
40
67
6
0
0
fn
0
67
76
82
[Range]
(
p
L
+
p
H
x 256) = 6
(
p
L
= 6,
p
H
= 0)
m
= 0
fn
= 6, 54
b
= 0
d1
= 67
d2
= 76
d3
= 82
[Description]
The printer deletes all records stored in the NV user memory.
- All area is changed to unused area.
GS ( D
[Name]
Enable/disable real-time command
[Format]
ASCII
GS
(
D
p
L
p
H
m
[a1 b1]...[ak bk]
Hex
1D
28
44
p
L
p
H
14
[a1 b1]...[ak bk]
Decimal
29
40
68
p
L
p
H
20
[a1 b1]...[ak bk]
[Range]
(
p
L
+
p
H
x 256) = 3, 5
(
p
L
= 3, 5,
p
H
= 0)
m
= 20
a
= 1
b
= 0, 1, 48, 49
[Default]
a
= 1/
b
= 1 (
DLE DC4
fn
m
t
(
n
= 1): enable)
[Description]
Specifies enable or disable of a real-time command.
-
p
L
,
p
H
sets the number of parameters after
p
H
(
m
and [
a1
b1
]...[
ak
bk
]) to (
p
L
+
p
H
x 256)
bytes.
-
a
specifies the type of real-time command.
-
b
specifies enable/disable of real-time command processing.
a
b
Real-time command type
0, 48
Disable
DLE DC4
n m t
(
n
= 1): output a specified pulse in real-time
(It does not process)
1
1, 49
Enable
DLE DC4
n m t
(
n
= 1): output a specified pulse in real-time
(It does process)
DLE DC4
n m t
(
n
=1): output a specified pulse in real-time.
GS ( E
[Name]
User setup commands
[Format]
ASCII
GS
(
E
p
L
p
H
fn [parameters]
Hex
1D
28
45
p
L
p
H
fn [parameters]
Decimal
29
40
69
p
L
p
H
fn [parameters]
[Description]
Controls the user setting modes. The table below explains the functions available in this command.
- The value of
fn
specifies the function.
fn
Function
1
Function1
Changes into the user setting mode
2
Function2
Ends user setting mode session. (Performs a software reset.)
3
Function3
Changes the Memory Switch
4
Function4
Transmits the host the value for the Memory Switch
5
Function5
Changes the customized setting values
6
Function6
Transmits the customized setting values
11
Function11
Sets communication condition of serial interface
12
Function12
Transmits communication condition of serial interface
-
p
L
and
p
H
specify the number of bytes for the parameters following
p
H
(
fn
and [
a1 b1
] ...
[
ak
bk
]) as(
p
L
+
p
H
x 256).