Samsung SRP-275CEPG Operation Manual - Page 63

GS E pL pH fn a <Function 4&gt

Page 63 highlights

CHAPTER 5 CONTROL COMMANDS LIST GS ( E pL pH fn [a1 b18...b11]...[ak nk8 nk1] [Format] ASCI G ( 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] [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 2-1 to 2-8 2-4 to 2-8 Setting value (b) 48 48 or 49 Function Reserved Default code page setting(refer to setting the Memory Switches ). When a = 2,Memory Switch 2 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 48 48 49 Function Reserved The printer status is sent back as the paper empty 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 cover open during operation: Error that automatically recovers. Printer cover open during operation: Error that can possibly recovers. Setting of [MSW 8-5] affects the statuses as follows: -Basic ASB status (See GS a command) -Real-time status (See DLE EOT command) 5-56 GS ( E pL pH fn a [Format] ASCII GS ( E pL pH fn a Hex 1D 28 45 02 00 04 a Decimal 29 40 69 2 0 4 a [Range] (pL + pH x 256) = 2 ( pL = 2, pH = 0) fn = 4 a = 2, 8 [Description] The printer transmits the host the value for the memory switch specified by parameter a. [Notes] This function works both in user setting mode and during normal printer operation. The printer transmits the Header to NUL data shown below: Transmit data Header Identifier Setting value NUL Hex 37H 21H 30H or 31H 00H Decimal 55 33 48 or 49 0 Data quantity 1 byte 1 byte 8 byte 1 byte The value of the memory switch is transmitted from bit 8 to bit 1. 48 or 49 is transmitted for a bit of Reserved. See description of of this command for detail of Memory Switch. See [Notes for the processing to transmit data] for description of the processing to transmit data. 5-57

  • 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

When a = 2,Memory Switch 2 is set as follows:
When a = 2,Memory Switch 2 is set as follows:
5-57
5-56
GS ( E pL pH fn [a1 b18...b11]...[ak nk8 nk1] <Function 3>
[Format]
ASCI
G
(
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]
[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.
GS ( E pL pH fn a <Function 4>
[Format]
ASCII
GS
(
E
pL
pH
fn
a
Hex
1D
28
45
02
00
04
a
Decimal
29
40
69
2
0
4
a
[Range]
(pL + pH x 256) = 2 ( pL = 2, pH = 0)
fn = 4
a = 2, 8
[Description]
The printer transmits the host the value for the memory switch specified by
parameter a.
[Notes]
This function works both in user setting mode and during normal printer
operation.
The printer transmits the Header to NUL data shown below:
Setting of [MSW 8-5] affects the statuses as follows:
-Basic ASB status (See GS a command)
-Real-time status (See DLE EOT command)
MSW
2-1 to 2-8
Setting value (b)
48
Function
Reserved
Default code page setting(refer to setting the Memory
Switches ).
MSW
8-1 to 8-4
8-6
Setting value (b)
48
48
Function
Reserved
The printer status is sent back as the paper empty 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 cover open during operation: Error that
automatically recovers.
Printer cover open during operation: Error that can
possibly recovers.
The value of the memory switch is transmitted from bit 8 to bit 1. 48 or 49 is
transmitted for a bit of Reserved.
See description of <Function 3> of this command for detail of Memory
Switch.
See [Notes for the processing to transmit data] for description of the
processing to transmit data.
Transmit data
Header
Identifier
Setting value
NUL
Hex
37H
21H
30H or 31H
00H
Decimal
55
33
48 or 49
0
Data quantity
1 byte
1 byte
8 byte
1 byte
CONTROL COMMANDS LIST
CHAPTER 5
2-4 to 2-8
48 or 49
8-5
48
49
48
48
48
49
8-7
8-8