Brother International TD-2125N ESC/ P Command Reference - Page 127

ESC i DC1 SQ(01h) Specify self-printing QR code content, ESC i DC1 SQ(00h) Retrieve self-printing QR

Page 127 highlights

ESC/P Command Reference ESC i DC1 SQ(01h) Specify self-printing QR code content ASCII: ESC i Hexadecimal: 1B 69 DC1 S 11 53 Q 01h n1 51 01 n1 n2 data n2 data Parameters 00h≦n1≦5Ah n2: 00h Description  Set the QR code content included in self-printing. n1: length of the content set in the QR code (up to 90 bytes)  data: content set in the QR code  This command is a static command. ESC i DC1 SQ(00h) Retrieve self-printing QR code content ASCII: ESC i Hexadecimal: 1B 69 DC1 S 11 53 Q 00h 00h 00h 51 00 00 00 Parameters None Description  The self printing QR code content setting value is returned with the following data. [1] 00h (Fixed) [2] 01h (Fixed) [3] Command reception response 00h: command reception OK 01h: command reception NG [4] Length of the content set in the QR code [5] 00h (Fixed) [6] and Content set in the QR code after  The retrieved value is a value specified by a static command. - 121 - 5. Control Command Details

  • 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
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142

ESC/P Command Reference
- 121 -
5. Control Command Details
ESC i DC1 SQ(01h)
Specify self-printing QR code content
ASCII:
ESC
i
DC1
S
Q
01h
n1
n2
data
Hexadecimal: 1B
69
11
53
51
01
n1
n2
data
Parameters
00h
n1
5Ah
n2: 00h
Description
Set the QR code content included in self-printing.
n1: length of the content set in the QR code (up to 90 bytes)
data: content set in the QR code
This command is a static command.
ESC i DC1 SQ(00h)
Retrieve self-printing QR code content
ASCII:
ESC
i
DC1
S
Q
00h
00h
00h
Hexadecimal: 1B
69
11
53
51
00
00
00
Parameters
None
Description
The self printing QR code content setting value is returned with the following data.
The retrieved value is a value specified by a static command.
[1]
00h (Fixed)
[2]
01h (Fixed)
[3]
Command reception response
00h: command reception OK
01h: command reception NG
[4]
Length of the content set in the QR code
[5]
00h (Fixed)
[6]
and
after
Content set in the QR code