Samsung SRP-275 Operator's Manual page 87

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

Advertisement

CHAPTER 5
CONTROL COMMANDS LIST
ESC & NUL n1 n2 [m d1 d2 d3 d4 d5 (d6 d7)]
[Name]
Register/cancel download characters
[Format]
ASCII
ESC
&
Hex
1B
26
Decimal 27
38
32 ≤ n1 ≤ n 2 ≤ 127 (20h ≤ n 1 ≤ n 2 ≤ 7Fh)
[Range]
m = 0, 128 (00h, 80h)
0 ≤ d1~d7 ≤ 255
[Default]
------
[Description]
Registers download characters to the specified character code.
A maximum of 10 download characters of 7 x 9 font and 5 x 9 font can be
registered. The range for writing download characters is specified by n1, n2.
When the registered character is 1 character, n1 = n2. If one has been already
registered to an address, it is overwritten.
This command registers download characters independent to each font.
m indicates the relationship of the character pattern and the print head
(see figure below).
Definition data (d1 to d7) set the bits that correspond to the dots to print to 1,
and the bits that correspond to the dots that are not printed to 0.
Even if ESC @ (command initialization) is executed, a registered download
character is not cleared.
1) When m = 0(00h):
5-102
n2-n1+1
NUL
n1
n2[m d1 d2 d3 d4 d5 (d6 d7)]n2-n1+1
00
n1
n2[m d1 d2 d3 d4 d5 (d6 d7)]n2-n1+1
0
n1
n2[m d1 d2 d3 d4 d5 (d6 d7)]n2-n1+1
2) When m = 128 (80h):
ESC % n
[Name]
Set/cancel download characters
[Format]
ASCII
ESC
Hex
1B
Decimal
27
[Range]
n = 0, 1, 48, 49
[Default]
Download character cancelled.
[Description]
Specifies/cancels download character according to n value.
n
0, 48
1, 49
Print example of download characters
1) Download character register (ESC & NUL n1 n2 m0 m1 m2...)
2) Specify download characters (ESC % n (n = 1))
3) Print download characters
%
n
25
n
37
n
Function
Cancel download characters
Specify download characters
5-103

Advertisement

Table of Contents
loading

Table of Contents