Esc; Esc & Y C1 C2 [X1 D1 - Samsung SRP-500 Programmer's Manual

Inkjet receipt printer
Hide thumbs Also See for SRP-500:
Table of Contents

Advertisement

ESC %

n
[Name]
[Format]
[Range]
[Description]
[Notes]
[Default]
[Reference]
ESC
y c1 c2 [x1 d1...d(y ×x1)]...[ xk d1... d(y × xk)]
&
[Name]
[Format]
[Range]
[Description]
2002. 1. 8.
Select/cancel user-defined character set
ASCII
ESC %
Hex
1B
25 n
Decimal
27
37 n
0 ≤n ≤255
Selects or cancels the user-defined character set.
When the Least Significant Bit (LSB) is 0, the user-defined character
set is canceled and the internal character set is enabled.
When the LSB is 1, the user-defined character set is selected.
When the downloaded character set has been released, the
internal character set is specified automatically.
n = 0
ESC &, ESC ?
Define user-defined characters
ASCII
ESC &
Hex
1B
26 y c1 c2 [x1 d1...d(y × x1)]...[ xk d1... d(y × xk)]
Decimal
27
38 y c1 c2 [x1 d1...d(y × x1)]...[ xk d1... d(y × xk)]
y = 2
32 ≤ c1 ≤c2 ≤ 255
0 ≤x ≤14 (Font A)
0 ≤x ≤12 (Font B)
0 ≤ d1 ... d(y
×
x) ≤ 255
Defines user-defined characters.
y specifies the number of bytes in the vertical direction.
c1 specifies the beginning character code for the definition, and c2
specifies the final code. When only one character is desired, use
c1 = c2.
x specifies the number of dots in the horizontal direction.
Programmer's Guide
n
y c1 c2 [x1 d1...d(y × x1)]...[ xk d1... d(y × xk)]
C
OMMANDS
24

Advertisement

Table of Contents
loading

Table of Contents