Samsung 275C User Manual - Page 57

<Function 1&gt, <Function 2&gt, <Function 3&gt

Page 57 highlights

CHAPTER 4 Control commands list GS ( E pL pH fn d1 d2 [Format] [Range] [Description] ASCII GS ( E pL pH fn d1 d2 Hex 1D 28 45 03 00 01 49 4E Decimal 29 40 69 3 0 1 73 78 (pL + pH x 256) = 3 (pL = 3, pH = 0) fn = 1 d1 = 73 d2 = 78 This command changes the printer into the user setting mode. GS ( E pL pH fn d1 d2 d3 [Format] [Range] [Description] ASCII GS ( E pL pH fn d1 d2 d3 Hex 1D 28 45 04 00 02 4F 55 54 Decimal 29 40 69 4 0 2 79 85 84 (pL + pH x 256) = 4 (pL = 4, pH = 0) fn = 2 d1 = 79 d2 = 85 d3 = 84 Ends the user setting mode, and the printer performs a software reset. GS ( E pL pH fn [a1 b18...b11]...[ak nk8 nk1] [Format] [Range] [Default] [Description] ASCII GS ( E pL pH fn [a1 b18...b11]...[ak nk8 nk1] Hex 1D 28 45 pL pH 03 [a1 b18...b11]...[ak nk8 nk1] Decimal 29 40 69 pL pH 3 [a1 b18...b11]...[ak nk8 nk1] a = 2, 8 All Memory Switches are OFF (b = 48). Changes the Memory Switch specified by a to the value specified by b. - When b = 48, the Memory Switch is set to OFF. - When b = 49, the Memory Switch is set to ON. - When b = 50, does not change the Memory Switch. • When a = 2, Memory Switch 2 is set as follows: MSW 2-1 to 2-8 Setting value ( b) 48 Function Reserved • When a = 8, Memory Switch 8 is set as follows: MSW 8-1 to 8-4 8-5 8-6 8-7 8-8 Setting value ( b) 48 48 49 48 48 49 48 49 Function Reserved The printer status is sent back as "the paper end" when the rear cover is opened. The printer status is sent back "the rear cover open" when the rear cover is opened. Reserved: Fixed to OFF (Don't change the setting) Printer BUSY is released when the remaining capacity of the receive buffer goes to 640 bytes. Printer BUSY is released when the remaining capacity of the receive buffer goes to 522 bytes. Printer rear cover open during operation: Error that automatically recovers. Printer rear cover open during operation: Error that can possibly recover. - Setting of MSW 8-5 affects the statuses as follows: • Basic ASB status (See "GS a" command) • Real-time status (See "DLE EOT" command) 4-21

  • 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

CHAPTER 4
Control commands list
4-21
GS ( E
p
L
p
H
fn d1 d2
<Function 1>
[Format]
ASCII
GS
(
E
p
L
p
H
fn
d1
d2
Hex
1D
28
45
03
00
01
49
4E
Decimal
29
40
69
3
0
1
73
78
[Range]
(
p
L
+
p
H
x 256) = 3
(
p
L
= 3,
p
H
= 0)
fn
= 1
d1
= 73
d2
= 78
[Description]
This command changes the printer into the user setting mode.
GS ( E
p
L
p
H
fn d1 d2 d3
<Function 2>
[Format]
ASCII
GS
(
E
p
L
p
H
fn
d1
d2
d3
Hex
1D
28
45
04
00
02
4F
55
54
Decimal
29
40
69
4
0
2
79
85
84
[Range]
(
p
L
+
p
H
x 256) = 4
(
p
L
= 4,
p
H
= 0)
fn
= 2
d1
= 79
d2
= 85
d3
= 84
[Description]
Ends the user setting mode, and the printer performs a software reset.
GS ( E
p
L
p
H
fn [a1 b1
8
...b11]...[ak nk
8
nk1]
<Function 3>
[Format]
ASCII
GS
(
E
p
L
p
H
fn
[a1 b1
8
...b11]...[ak nk
8
nk1]
Hex
1D
28
45
p
L
p
H
03
[a1 b1
8
...b11]...[ak nk
8
nk1]
Decimal
29
40
69
p
L
p
H
3
[a1 b1
8
...b11]...[ak nk
8
nk1]
[Range]
a
= 2, 8
[Default]
All Memory Switches are OFF (
b
= 48).
[Description]
Changes the Memory Switch specified by
a
to the value specified by
b
.
- When
b
= 48, the Memory Switch is set to OFF.
- When
b
= 49, the Memory Switch is set to ON.
- When
b
= 50, does not change the Memory Switch.
• When
a
= 2, Memory Switch 2 is set as follows:
MSW
Setting value (
b
)
Function
2-1 to 2-8
48
Reserved
• When
a
= 8, Memory Switch 8 is set as follows:
MSW
Setting value (
b
)
Function
8-1 to 8-4
48
Reserved
48
The printer status is sent back as “the paper end” when
the rear cover is opened.
8-5
49
The printer status is sent back “the rear cover open”
when the rear cover is opened.
8-6
48
Reserved: Fixed to OFF (Don’t change the setting)
48
Printer BUSY is released when the remaining capacity of
the receive buffer goes to 640 bytes.
8-7
49
Printer BUSY is released when the remaining capacity of
the receive buffer goes to 522 bytes.
48
Printer rear cover open during operation: Error that
automatically recovers.
8-8
49
Printer rear cover open during operation: Error that can
possibly recover.
- Setting of MSW 8-5 affects the statuses as follows:
• Basic ASB status (See “
GS a
” command)
• Real-time status (See “
DLE EOT
” command)