Samsung SRP-275 Operator's Manual page 96

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

Advertisement

CHAPTER 5
CONTROL COMMANDS LIST
ESC @
[Name]
Command initialization
[Format]
ASCII
ESC
Hex
1B
Decimal
27
[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
Hex
1B
Decimal 27
0 ≤ n ≤ 1
[Range]
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
5-120
@
40
64
U
n
55
n
85
n
Print direction
Specify bi-directional printing
Specify uni-directional printing
ESC GS # m N n1 n2 n3 n4 LF NUL
[Name]
Set memory switch
[Format]
ASCII
ESC
GS
#
Hex
1B
1D
23
Decimal
27
29
35
[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
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
- m: Mode selection
- N: Memory switch number to specify
- n1 n2 n3 n4: Specify data m = ","
to set m = "-"
Bit number to clear.
[Note]
The status of this command varies according to the model,
so check the special appendix.
m
N
n1
n2
n3
n4
LF NUL
m
N
n1
n2
n3
n4
0A
00
m
N
n1
n2
n3
n4
0A
00
Class
m
N
n1 n2 n3 n4
Definition
","
N
n1 n2 n3 n4
Definition
"+"
N
n1 n2 n3 n4
Definition
"-"
N
n1 n2 n3 n4
Definition
"@"
Fixed at "0"
Fixed at "0000"
Definition
"W"
Fixed at "0"
Fixed at "0000"
Definition
"T"
Fixed at "0"
Fixed at "0000"
Specify data m = "+"
Bit number
5-121

Advertisement

Table of Contents
loading

Table of Contents