Samsung SRP-275 Operator's Manual page 66

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

Advertisement

CHAPTER 5
CONTROL COMMANDS LIST
GS ( E pL pH fn a d1...dk <Function 11>
[Format]
ASCII
GS
(
Hex
1D
28
Decimal 29
40
3 ≤ ( pL + pH x 256) ≤ 8 (3 ≤ pL ≤ 8, 0 ≤ pH ≤ 255)
[Range]
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
48
Select Flow control of DTR/DSR
49
Select Flow control of XON/XOFF
5-60
E
pL
pH
fn
a
d1...dk
45
pL
pH
0B
a
d1...dk
69
pL
pH
11
a
d1...dk
Function
Bit length ( a = 4) is specified by d as follows:
d
Function
55
Select 7 bits length
56
Select 8 bits length
[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.
5-61

Advertisement

Table of Contents
loading

Table of Contents