Samsung SRP-275CEPG Operation Manual - Page 106

ESC GS # m N n1 n2 n3 n4 LF NUL, ESC U n

Page 106 highlights

CHAPTER 5 CONTROL COMMANDS LIST ESC @ [Name] Command initialization [Format] ASCII ESC @ Hex 1B 40 Decimal 27 64 [Range] ------ [Default] ------ [Description] Initializes each command after printing data in the line buffer. DIP Switch is not reread. The following shows the specifications that are not initialized by this command. - DC1 and DC3 select/deselect status - ESC BEL external device drive conditions - Auto status valid/invalid conditions. ESC U n [Name] Select printing direction [Format] ASCII ESC U n Hex 1B 55 n [Range] [Description] Decimal 27 85 n 0 ≤n ≤1 48 ≤ n ≤ 49 ("0" ≤ n ≤ "1") Executes print direction specified by this command after printing data in the line buffer. N Print direction 0, 48 Specify bi-directional printing 1, 49 Specify uni-directional printing 5-120 ESC GS # m N n1 n2 n3 n4 LF NUL [Name] Set memory switch [Format] ASCII ESC GS # m N n1 n2 n3 n4 LF NUL Hex 1B 1D 23 m N n1 n2 n3 n4 0A 00 Decimal 27 29 35 m N n1 n2 n3 n4 0A 00 [Range] m = 87, 84, 44, 43, 45, 64 ( m = "W", "T 48 ≤N ≤ 57 ("0" ≤ N ≤ "9"), 65 ≤ N ≤ 70 ("A" ≤ N ≤ "F") 48 ≤ n1 ≤ 57 ("0" ≤ n1 ≤ "9"), 65 ≤ n1 ≤ 70 ("A" ≤ n1 ≤ "F") 48 ≤ n2 ≤ 57 ("0" ≤ n2 ≤ "9"), 65 ≤ n2 ≤ 70 ("A" ≤ n2 ≤ "F") 48 ≤ n3 ≤ 57 ("0" ≤ n3 ≤ "9"), 65 ≤ n3 ≤ 70 ("A" ≤ n3 ≤ "F") 48 ≤ n4 ≤ 57 ("0" ≤ n4 ≤ "9"), 65 ≤ n4 ≤ 70 ("A" ≤ n4 ≤ "F") [Default] ------ [Description] After defining the memory switches using the definition commands determined in the Class item of the table below, the memory switches are set by sending this write command. The printer executes a reset automatically after writing the setting values defined by the write command to the non-volatile memory. Do not turn the printer power off while writing to the non-volatile memory. If it is turned off, the memory switch settings will be corrupted and the settings may return to initial values where the offset value settings are a digit off from all the memory switch settings. Consider the life of the non-volatile memory and avoid over-use of this command. Functions Class m Definition data (Data specification) Definition "," N n1 n2 n3 n4 N n1 n2 n3 n4 Definition data (Set specified bit) Definition "+" Data definition (Clear specified bit) Definition "-" N n1 n2 n3 n4 N n1 n2 n3 n4 Data definition (Initialize all data) Data definition write and reset Definition "@" Fixed at "0" Fixed at "0000" Definition "W" Fixed at "0" Fixed at "0000" Data definition write and reset and Definition "T" Fixed at "0" Fixed at "0000" self print - m: Mode selection - N: Memory switch number to specify - n1 n2 n3 n4: Specify data m = "," Specify data m = "+" Bit number to set m = "-" Bit number to clear. [Note] The status of this command varies according to the model, so check the special appendix. 5-121

  • 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-121
ESC GS # m N n1 n2 n3 n4 LF NUL
[Name]
Set memory switch
[Format]
ASCII
ESC
GS
#
m
N
n1
n2
n3
n4
LF
NUL
Hex
1B
1D
23
m
N
n1
n2
n3
n4
0A
00
Decimal
27
29
35
m
N
n1
n2
n3
n4
0A
00
[Range]
m = 87, 84, 44, 43, 45, 64 ( m = "W", "T", ",", "+", "-", "@" )
48
N
57 ("0"
N
"9"), 65
N
70 ("A"
N
"F")
48
n1
57 ("0"
n1
"9"), 65
n1
70 ("A"
n1
"F")
48
n2
57 ("0"
n2
"9"), 65
n2
70 ("A"
n2
"F")
48
n3
57 ("0"
n3
"9"), 65
n3
70 ("A"
n3
"F")
48
n4
57 ("0"
n4
"9"), 65
n4
70 ("A"
n4
"F")
[Default]
------
[Description]
After defining the memory switches using the definition commands determined
in the Class item of the table below, the memory switches are set by sending
this write command. The printer executes a reset automatically after writing the
setting values defined by the write command to the non-volatile memory.
Do not turn the printer power off while writing to the non-volatile memory.
If it is turned off, the memory switch settings will be corrupted and the settings
may return to initial values where the offset value settings are a digit off from
all the memory switch settings. Consider the life of the non-volatile memory
and avoid over-use of this command.
-
m: Mode selection
-
N: Memory switch number to specify
-
n1 n2 n3 n4: Specify data m = ","
Specify data m = "+"
Bit number
to set m = "-"
Bit number to clear.
[Note]
The status of this command varies according to the model,
so check the special appendix.
5-120
ESC @
[Name]
Command initialization
[Format]
ASCII
ESC
@
Hex
1B
40
Decimal
27
64
[Range]
------
[Default]
------
[Description]
Initializes each command after printing data in the line buffer.
DIP Switch is not reread.
The following shows the specifications that are not initialized by this command.
-
DC1 and DC3 select/deselect status
-
ESC BEL external device drive conditions
-
Auto status valid/invalid conditions.
ESC U n
[Name]
Select printing direction
[Format]
ASCII
ESC
U
n
Hex
1B
55
n
Decimal
27
85
n
[Range]
0
n
1
48
n
49 ("0"
n
"1")
[Description]
Executes print direction specified by this command after printing data in the
line buffer.
N
0, 48
1, 49
Print direction
Specify bi-directional printing
Specify uni-directional printing
Functions
Definition data (Data specification)
Definition data (Set specified bit)
Data definition (Clear specified bit)
Data definition (Initialize all data)
Data definition write and reset
Data definition write and reset and
self print
Class
Definition
Definition
Definition
Definition
Definition
Definition
m
","
"+"
"-"
"@"
"W"
"T"
N
N
N
N
Fixed at "0"
Fixed at "0"
Fixed at "0"
n1 n2 n3 n4
n1 n2 n3 n4
n1 n2 n3 n4
n1 n2 n3 n4
Fixed at "0000"
Fixed at "0000"
Fixed at "0000"
CONTROL COMMANDS LIST
CHAPTER 5