Samsung SRP-275CEPG Operation Manual - Page 68

Send data, Decimal, Function

Page 68 highlights

CHAPTER 5 CONTROL COMMANDS LIST [Notes for printer information B] Each printer information is composed of [header + printer information + UL] (when 65 ≤ n ≤ 68). Send data Header Printer information B NUL Hex 5FH Depends on the model 00H Decimal 95 Depends on the model 0 Data 1 byte 1-80 bytes 1 byte - If the printer information is not prepared, [Header + NUL] (2 bytes) are sent. The firmware version can be confirmed by self test printing. The self test is executed by executing GS ( A, or by panel switch operation when power is turned on. When transmitting [Header to NUL], ASB status and real-time commands cannot be used. With serial interface, when communication with the printer uses XON/XOFF control, the XOFF code may interrupt the Header to NUL data string. Printer information can be identified to other transmission data according to specific data of the transmission data block. When the header transmitted by the printer is [hex = 5FH/decimal=95], treat NUL [hex = 00H/decimal =0] as a data group and identify it according to the following data. Printer model ID (n = 1, 49) Hex: 0DH / Decimal: 13 Type ID (n = 2, 50) Bit 1: [Auto cutter is installed/not installed] indicates the state of DIP switch 1-3. Bit 2: The bit [DM-D (Customer display) isn't supported. Printer model (n = 67) Printer model: SRP-275 Type information (n = 33) Bit 1: [Auto cutter is installed/not installed] indicates the state of DIP switch 1-3. Bit 2: The bit [DM-D (Customer display) isn't supported. 5-66 GS V [Name] Select cut mode and cut paper [Format] Function A ASCII GS V m Hex 1D 56 m Decimal 29 86 m Function B ASCII GS V m n Hex 1D 56 m n Decimal 29 86 m n [Range] Function A m = 0, 1, 48, 49 Function B m = 65, 66; 0 ≤ n ≤255 [Default] None [Description] Select a paper cutting mode using m and then cut the paper, as follows: m 0,48 1,49 65 66 Function Executes a full cut (cuts the paper completely). Executes a partial cut (one point left uncut). Feeds paper to (cutting position + n x vertical motion unit) and executes a partial cut(one point left uncut). Feeds paper to (cutting position + n x vertical motion unit) and executes a partial cut(one point left uncut). [Notes for ] If an auto cutter is not provided, this command is ignored. [Notes for ] When n = 0, the printer feeds the paper to the cutting position and cuts it. If an auto cutter is not provided, the printer only feeds the paper for specified amount. Vertical motion unit is used for calculating a paper feed amount. 5-67

  • 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-67
5-66
Send data
Header
Printer information B
NUL
Hex
5FH
Depends on the model
00H
Decimal
95
Depends on the model
0
Data
1 byte
1-80 bytes
1 byte
[Notes for printer information B]
Each printer information is composed of [header + printer information +
UL] (when 65
n
68).
-
If the printer information is not prepared, [Header + NUL] (2 bytes) are sent.
The firmware version can be confirmed by self test printing. The self test is
executed by executing GS ( A, or by panel switch operation when power is
turned on.
When transmitting [Header to NUL], ASB status and real-time commands
cannot be used.
With serial interface, when communication with the printer uses XON/XOFF
control, the XOFF code may interrupt the Header to NUL data string.
Printer information can be identified to other transmission data according to
specific data of the transmission data block. When the header transmitted by
the printer is [hex = 5FH/decimal=95], treat NUL [hex = 00H/decimal =0] as
a data group and identify it according to the following data.
Printer model ID (n = 1, 49)
Hex: 0DH / Decimal: 13
Type ID (n = 2, 50)
Bit 1: [Auto cutter is installed/not installed] indicates the state of
DIP switch 1-3.
Bit 2: The bit [DM-D (Customer display) isn
t supported.
Printer model (n = 67)
Printer model: SRP-275
Type information (n = 33)
Bit 1: [Auto cutter is installed/not installed] indicates the state of
DIP switch 1-3.
Bit 2: The bit [DM-D (Customer display) isn
t supported.
GS V
[Name]
Select cut mode and cut paper
[Format]
Function
A
ASCII
GS
V
m
Hex
1D
56
m
Decimal
29
86
m
Function
B
ASCII
GS
V
m
n
Hex
1D
56
m
n
Decimal
29
86
m
n
[Range]
Function A m = 0, 1, 48, 49
Function B m = 65, 66; 0
n
255
[Default]
None
[Description]
Select a paper cutting mode using m and then cut the paper, as follows:
m
Function
0,48
1,49
Executes a full cut (cuts the paper completely).
Executes a partial cut (one point left uncut).
Feeds paper to (cutting position + n x vertical motion unit) and
executes a partial cut(one point left uncut).
Feeds paper to (cutting position + n x vertical motion unit) and
executes a partial cut(one point left uncut).
[Notes for <A>]
If an auto cutter is not provided, this command is ignored.
[Notes for <B>]
When n = 0, the printer feeds the paper to the cutting position and cuts it.
If an auto cutter is not provided, the printer only feeds the paper for specified
amount.
Vertical motion unit is used for calculating a paper feed amount.
CONTROL COMMANDS LIST
CHAPTER 5
<A>
<B>
65
66