Samsung SRP-275 Operator's Manual page 67

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 <Function 12>
[Format]
ASCII
GS
(
Hex
1D
28
Decimal 29
40
[Range]
(pL + pH x 256) = 2 (pL = 2, pH = 0)
fn = 12
1 ≤ a ≤ 4
[Description]
Transmits the setting value of the serial interface communication condition
specified by a.
[Notes]
This function works in user setting mode and during normal operation.
This function transmits "Header to NUL" as follows:
a
Communication condition
1
2
3
4
[Notes]
This function works in user setting mode and during normal operation.
This function transmits "Header to NUL" as follows:
Transmit data
Header
Identifier
Communication condition (*1)
Separator
Setting value (*2)
NUL
(*1) Communication condition is specified by a.
(*2) Setting value is set by Function 11.
- Setting value is set by Function 11. It might differ from the current
communication condition before executing Function 2 or depending on the
setting of the DIP Switch.
- This function is used to confirm whether Function 11 ends normally before
executing Function 2.
5-62
E
pL
pH
fn
a
45
pL
pH
0B
a
69
pL
pH
11
a
Baud rate
Parity
Flow control
Bit length
Hex
Decimal
Data quantity
37H
55
1 byte
33H
51
1 byte
30H ~ 34H
48 ~ 52
1 byte
1FH
31
1 byte
30H ~ 39H
48 ~ 57
1 ~ 5 bytes
00H
0
1 byte
GS I
[Name]
Transmit printer ID
[Format]
ASCII
GS
I
n
Hex
1D
49
n
Decimal 29
73
n
1 ≤ n ≤ 3, 49 ≤ n ≤ 51, 65 ≤ n ≤ 68, n = 33
[Range]
[Default]
None
[Description]
Transmits 1 byte of printer ID which is specified by n as follows:
n
Printer ID
1, 49
Printer model ID
2, 50
Type ID
3, 51
Version ID
Transmits printer information A (common information), using n as follows:
n
Printer ID
33
Type information
Transmits printer information B (common information), using n as follows:
n
Printer ID
65
Firmware version
66
Maker name
67
Printer model
68
Serial No
[Notes]
When you use this command, obey the following rules.
- When the host PC transmits the function data, transmit next data after
receiving the corresponding ID from the printer.
- With a serial interface printer, be sure to use this function when the host
can receive data.
- With a parallel interface printer, data (printer ID, printer information) sent
with this command is temporarily stored in the printer send buffer like other
transmitted data (except ASB). When the host goes into reverse mode, the
printer then sends the data sequentially from the beginning of the send
buffer.
Specification
Printer model
Printer type
Firmware version
Specification
Supported functions
Specification
Firmware version
KPS
Printer model
Serial No of the printer
5-63

Advertisement

Table of Contents
loading

Table of Contents