Samsung SRP-275CEPG Operation Manual - Page 65

Function

Page 65 highlights

CHAPTER 5 CONTROL COMMANDS LIST GS ( E pL pH fn a d1...dk [Format] ASCII GS ( E pL pH fn a d1...dk Hex 1D 28 45 pL pH 0B a d1...dk Decimal 29 40 69 pL pH 11 a d1...dk [Range] 3 ≤ ( pL + pH x 256) ≤ 8 (3 ≤ pL ≤ 8, 0 ≤ pH ≤ 255) n = 11 1 ≤a ≤4 48 ≤ d ≤ 57 [a = 1] 48 ≤ d ≤ 50 [a = 2] d = 48, 49 [a = 3] d = 55, 56 [a = 4] 1≤k≤6 [Default] d1...dk = 9600 [a = 1] d = 48 [a = 2] d = 48 [a = 3] d = 56 [a = 4] [Description] Changes the condition of the serial interface defined by a. a Item 1 Baud rate 2 Parity 3 Flow control 4 Bit length Baud rate (a = 1) is specified by number. Example: When defining 19200 bps: 5 bytes as 19200 (Hexadecimal = 31H, 39H, 32H, 30H,30H / Decimal= 49, 57, 50, 48, 48) Parity (a = 2) is specified by d as follows: d Function 48 Select no parity 49 Select odd parity 50 Select even parity Flow control (a = 3) is specified by d as follows: d Function 48 Select Flow control of DTR/DSR 49 Select Flow control of XON/XOFF 5-60 [Notes] Bit length ( a = 4) is specified by d as follows: d Function 55 Select 7 bits length 56 Select 8 bits length It is recommended that the DIP Switch be used to change communication condition. -If the communication control between host and printer does not correspond, the printer cannot process data from the host normally, and the host cannot receive data from the printer normally. This function works in user setting mode. This function works with serial interface printers. The communication condition set by this function is enabled by executing Function 2 or restarting the printer. It is necessary to change the communication condition of the host to be the same as the printer to communicate with the printer. To enable the communication condition set by this function, set DSW 1-5 to ON (Interface condition selection). -The serial communication setting is also specified by DIP switch. -4 baud rates are selectable by this command. [ 2400 , 4800 , 9600 ,19200 ] -Setting of this function can be changed by Memory switch setting mode by the panel switch operation. 5-61

  • 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-61
5-60
GS ( E pL pH fn a d1...dk <Function 11>
[Format]
ASCII
GS
(
E
pL
pH
fn
a
d1...dk
Hex
1D
28
45
pL
pH
0B
a
d1...dk
Decimal
29
40
69
pL
pH
11
a
d1...dk
[Range]
3
( pL + pH x 256)
8 (3
pL
8, 0
pH
255)
n = 11
1
a
4
48
d
57 [a = 1]
48
d
50 [a = 2]
d = 48, 49
[a = 3]
d = 55, 56
[a = 4]
1
k
6
[Default]
d1...dk = 9600 [a = 1]
d = 48 [a = 2]
d = 48 [a = 3]
d = 56 [a = 4]
[Description]
Changes the condition of the serial interface defined by a.
d
48
49
50
Function
Select no parity
Select odd parity
Select even parity
d
48
49
Function
Select Flow control of DTR/DSR
Select Flow control of XON/XOFF
Baud rate (a = 1) is specified by number.
Example: When defining 19200 bps: 5 bytes as 19200 (Hexadecimal =
31H, 39H, 32H, 30H,30H / Decimal= 49, 57, 50, 48, 48)
Parity (a = 2) is specified by d as follows:
Flow control (a = 3) is specified by d as follows:
d
55
56
Function
Select 7 bits length
Select 8 bits length
Bit length ( a = 4) is specified by d as follows:
[Notes]
It is recommended that the DIP Switch be used to change communication
condition.
-If the communication control between host and printer does not
correspond, the printer cannot process data from the host normally, and the
host cannot receive data from the printer normally.
This function works in user setting mode.
This function works with serial interface printers.
The communication condition set by this function is enabled by executing
Function 2 or restarting the printer. It is necessary to change the
communication condition of the host to be the same as the printer to
communicate with the printer.
To enable the communication condition set by this function, set DSW 1-5 to
ON (Interface condition selection).
-The serial communication setting is also specified by DIP switch.
-4 baud rates are selectable by this command. [ 2400 , 4800 , 9600 ,19200 ]
-Setting of this function can be changed by Memory switch setting mode by
the panel switch operation.
a
1
2
3
4
Item
Baud rate
Parity
Flow control
Bit length
CONTROL COMMANDS LIST
CHAPTER 5