Samsung SRP-275CEPG Operation Manual - Page 67

code of [Header +Identifier + NUL].

Page 67 highlights

CHAPTER 5 CONTROL COMMANDS LIST [Notes for printer ID] Each printer ID is composed of 1 byte of data (when 1 ≤ n ≤ 3, 49 ≤ n ≤ 51). Printer model ID differs, depending on the printer model (when n = 1, 49). Transmits specified printer information, as follows: Bit Off/On Hex Decimal Function Off 00 0 On 01 1 Off On 00 02 Off 00 2 On 04 3 - - 4 Off 00 5 - - 6 Off 00 7 Off 00 0 Multi-byte character codes are not supported. 1 Multi-byte character codes are supported. 0 Auto cutter not installed. 2 Auto cutter installed. 0 DM-D (customer display) is not installed. 4 DM-D (customer display) is installed. - Reserved. 0 Not used. Fixed to Off. - Reserved. 0 E/P (Endorse printer) not installed 0 Not used. Fixed to Off. Printer ID is distinguished from other send data by bits 4 and 7. When the data sent from printer after printing GS I is "0xx0xxxx" (x = 0, 1), the printer processes the data as printer ID. [Notes for printer information A] Printer information A (n = 33) consists of [Header ~ NUL] as shown in the following table: Transmit data Header Identifier(*1) Printer information A (*2) NUL Hex 3DH 20H ~ 2FH Depends on printer model 00H Decimal 61 32 ~ 47 Depends on printer model 0 Amount of data 1 byte 1 byte 0 ~ 80 bytes 1 byte 5-64 (*1) The identifier is transmitted as the transmitted parameter n of this command. Example: When type information is specified (n = 33), the identifier is [hex = 21H/decimal = 33]. (*2) If the printer information cannot be transmitted, the printer transmits 3-byte code of [Header +Identifier + NUL]. The printer information A of type information (n = 33) is 2 bytes of data as shown in the following tables. Bit Off/On Hex Decimal Function 0 Off 00 On 01 Off 00 1 On 02 2 Off 00 On 04 3-5 - - 6 On 40 7 Off 00 0 Multi-byte character codes are not supported. 1 Multi-byte character codes are supported. 0 Auto cutter not installed. 2 Auto cutter installed. 0 DM-D (customer display) is not installed. 4 DM-D (customer display) is installed. - Reserved. 64 Fixed. 0 Fixed. During transmission of [Header ~ NUL], ASB status and real time commands are disabled. When communication with the printer uses XON/XOFF control, the XOFF code may interrupt the Header to NUL data string. The printer information A can be differentiated by the header of the block data from other transmission data. After outputting GS I, if the data transmitted from the printer is [Hex = 3DH/Decimal = 61], data is processed up to NUL [Hex = 00H/Decimal = 0] as the data block, according to the header and identifier. 5-65

  • 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-65
5-64
[Notes for printer ID]
Each printer ID is composed of 1 byte of data (when 1
n
3, 49
n
51).
Printer model ID differs, depending on the printer model (when n = 1, 49).
Transmits specified printer information, as follows:
Printer ID is distinguished from other send data by bits 4 and 7. When the
data sent from printer after printing GS I is "0xx0xxxx" (x = 0, 1), the printer
processes the data as printer ID.
[Notes for printer information A]
Printer information A (n = 33) consists of [Header ~ NUL] as shown in the
following table:
Bit
Off/On
Hex
Decimal
Function
3
4
5
6
7
Off
On
Off
On
Off
On
-
Off
-
Off
Off
00
01
00
02
00
04
-
00
-
00
00
0
1
0
2
0
4
-
0
-
0
0
Multi-byte character codes are not supported.
Multi-byte character codes are supported.
Auto cutter not installed.
Auto cutter installed.
DM-D (customer display) is not installed.
DM-D (customer display) is installed.
Reserved.
Not used. Fixed to Off.
Reserved.
E/P (Endorse printer) not installed
Not used. Fixed to Off.
Bit
Off/On
Hex
Decimal
Function
3-5
6
7
Off
On
Off
On
Off
On
-
On
Off
00
01
00
02
00
04
-
40
00
0
1
0
2
0
4
-
64
0
Multi-byte character codes are not supported.
Multi-byte character codes are supported.
Auto cutter not installed.
Auto cutter installed.
DM-D (customer display) is not installed.
DM-D (customer display) is installed.
Reserved.
Fixed.
Fixed.
Transmit data
Header
Identifier(*1)
NUL
Hex
3DH
20H ~ 2FH
Depends on
printer model
00H
Decimal
61
32 ~ 47
Depends on
printer model
0
Amount of data
1 byte
1 byte
1 byte
(*1) The identifier is transmitted as the transmitted parameter n of this
command.
Example: When type information is specified (n = 33), the identifier is
[hex = 21H/decimal = 33].
(*2) If the printer information cannot be transmitted, the printer transmits 3-byte
code of [Header +Identifier + NUL].
The printer information A of type information (n = 33) is 2 bytes of data
as shown in the following tables.
During transmission of [Header ~ NUL], ASB status and real time
commands are disabled.
When communication with the printer uses XON/XOFF control, the XOFF
code may interrupt the Header to NUL data string.
The printer information A can be differentiated by the header of the block
data from other transmission data. After outputting GS I, if the data
transmitted from the printer is [Hex = 3DH/Decimal = 61], data is processed
up to NUL [Hex = 00H/Decimal = 0] as the data block, according to the
header and identifier.
CONTROL COMMANDS LIST
CHAPTER 5
0
1
2
Printer information A (*2)
0 ~ 80 bytes
0
1
2