Samsung SRP-350 User Manual
Page 16
30
ESC FF
[Name]
[Format]
[Description]
Print data in page mode.
ASCII ESC FF
Hex 1B 0C
Decimal 27 12
In page mode, prints all buffered data in the printing area collectively.
ESC SP n
[Name]
[Format]
[Range]
[Description]
Set right-side character spacing.
ASCII ESC SP n
Hex 1B 20 n
Decimal 27 32 n
0 ≤n ≤255
Sets the character spacing for the right side of the character to
[n ×horizontal or vertical motion units].
ESC ! n
[Name]
[Format]
[Range]
[Description]
Select print modes.
ASCII ESC ! n
Hex 1B 21 n
Decimal 27 33 n
0 ≤n ≤255
Selects print mode(s) using n as follows.
Bit
Off/On
Hex
Decimal Function
Off 00 0 Character font(12 ×24) selected.
0
On 01 1 Character font(9 ×17) selected.
1,2 - - - Undefined.
Off
00
0
Emphasized mode not selected.
3
On
08
8
Emphasized mode selected.
Off
00
0
Double-height mode not selected.
4
On
10
16
Double-height mode selected.
Off
00
0
Double-width mode not selected.
5
On
20
32
Double-width mode selected.
6 - - -
Undefined.
Off
00
0
Underline mode not selected.
7
On
80
128
Underline mode selected.
31
ESC $ nL nH
[Name]
[Format]
[Range]
[Description]
Set absolute print position.
ASCII ESC $ nL n
Hex 1B 24 nL n
Decimal 27 36 nL n
0 ≤n ≤255
0 ≤n ≤255
Set the distance from the beginning of the line to the position at which
subsequent characters are to be printed.
* The distance from the beginning of the line to the print position is
[(nL + nH Ч256) Ч(vertical or horizontal notion unit)] inches.
ESC % n
[Name]
[Format]
[Range]
[Description]
Select / Cancel user-defined character set.
ASCII ESC % n
Hex 1B 25 n
Decimal 27 37 n
0 ≤n ≤255
Selects or cancels the user-defined character set.
When the LSB is 0, the user-defined character set is canceled.
When the LSB is 1, the user-defined character set is selected.
ESC & y c1 c2 [x1 d1…d(y X x1)]… [xk d1… d(yx X xk)]
[Name]
[Format]
[Range]
[Description]
Define user-defined characters.
ASCII ESC & n y c1 c2[x1 d1…d(y X x1)]… [xk d1… d(yx X xk)]
Hex 1B 26 n y c1 c2[x1 d1…d(y X x1)]… [xk d1… d(yx X xk)]
Decimal 27 38 n y c1 c2[x1 d1…d(y X x1)]… [xk d1… d(yx X xk)]
y = 3, 32 ≤c1 ≤c2 ≤126
0 ≤x ≤12 (12x24 font)
0 ≤x ≤9 (9x17 font)
0 ≤d1 … d(y X xk) ≤255
- 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.
- x specifies the number of dots in the horizontal direction.