Samsung SRP-275CEPG Operation Manual - Page 43

Function, Vertical, dot density, density, Set adjacent, MSW1-8: ON, Paper Width:76/ 69.5/ 57.5 mm,

Page 43 highlights

CHAPTER 5 CONTROL COMMANDS LIST ESC * [Name] Select bit-image mode [Format] ASCII ESC * m nL nH d1 ... dk Hex 1B 2A m nL nH d1 ... dk Decimal 27 42 m nL nH d1 ... dk [Range] m = 0, 1 0 ≤ nL ≤ 255 0 ≤ nH ≤ 3 0 ≤ d ≤ 255 k = nL + nHx255 [Default] None [Description] Selects a bit-image mode using m for the number of dots specified by (nL + nH x 256) as follows : m Mode Number of bits for vertical data Dot density in horizontal Amount of data ( k) 0 8-dot single-density 8 Single-density nL + nH x 256 1 8-dot double-density 8 Double-density nL + nH x 256 [Notes] Data (d) specifies a bit printed to 1 and not printed to 0. If the bit image data exceeds the number of dots to be printed on a line, the excess data is ignored. The bit-image is not affected by print mode (emphasized, double-strike, underline, character size), except for upside-down printing mode. After printing a bit image, the printer processes normal data. When printing multiple line bit images, selecting unidirectional printing mode with ESC U enables printing patterns in which the top and bottom parts are aligned vertically. This command is used to print a picture or logo. The relationship between the bit image data and the print result is as follows. 8 dot mode (m = 0,1) MSB d1 d2 .... dk LSB 5-16 The modes selectable by m are as follows: - "Vertical" is in the direction of paper feeding and "horizontal" is perpendicular (at right angles) to the direction of paper feeding. - The maximum number of dots for printing depends on a DIP Switch [DSW1-8] setting and paper width. See the description of GS ( E , for details. Horizontal m Mode Vertical dot density Dot density Set adjacent dots Maximum number of dots MSW1-8: ON MSW 1-8: OFF Paper Width:76/ 69.5/ 57.5 (mm) Paper Width:76/ 69.5/ 57.5 (mm) 8-dot 0 single- 72 dpi 80 dpi Permitted 192/ 180/ 148 200/ 180/ 150 density 8-dot 1 double- 72 dpi 160 dpi Prohibited 385/ 360 / 297 400/ 360/ 300 density ESC - [Name] Turn underline mode on/off [Format] ASCII ESC - n Hex 1B 2D n Decimal 27 45 n [Range] n = 0, 1, 48, 49 [Default] n = 0 [Description] Turns underline mode on or off using n as follows: n Function 0, 48 Turns off underline mode 1, 49 Turns on underline mode (1-dot thick) 2, 50 Turns on underline mode (1-dot thick) [Notes] The printer cannot underline the space set by HT Changing the character size does not affect the current underline thickness. When underline mode is turned off, the following data cannot be underlined, but the thickness is maintained. This command and bit 7 of ESC ! turn on and off underline mode in the same way. 5-17

  • 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-17
5-16
ESC *
[Name]
Select bit-image mode
[Format]
ASCII
ESC
*
m
nL
nH
d1 ... dk
Hex
1B
2A
m
nL
nH
d1 ... dk
Decimal
27
42
m
nL
nH
d1 ... dk
[Range]
m = 0, 1
0
nL
255
0
nH
3
0
d
255
k = nL + nHx255
[Default]
None
[Description]
Selects a bit-image mode using m for the number of dots specified by
(nL + nH x 256) as follows :
[Notes]
Data (d) specifies a bit printed to 1 and not printed to 0.
If the bit image data exceeds the number of dots to be printed on a line,
the excess data is ignored.
The bit-image is not affected by print mode (emphasized, double-strike,
underline, character size), except for upside-down printing mode.
After printing a bit image, the printer processes normal data.
When printing multiple line bit images, selecting unidirectional printing mode
with ESC U enables printing patterns in which the top and bottom parts are
aligned vertically.
This command is used to print a picture or logo.
The relationship between the bit image data and the print result is as follows.
m
0
1
Mode
8-dot single-density
8-dot double-density
Number of bits for vertical data
8
8
Dot density in horizontal
Single-density
Double-density
Amount of data ( k)
nL + nH x 256
nL + nH x 256
d1
d2
....
dk
8 dot mode (
m
= 0,1)
MSB
LSB
The modes selectable by m are as follows:
- "Vertical" is in the direction of paper feeding and "horizontal" is perpendicular
(at right angles) to the direction of paper feeding.
- The maximum number of dots for printing depends on a DIP Switch [DSW1-8] setting
and paper width. See the description of GS ( E <Function 5>, <Function 6> for details.
ESC -
[Name]
Turn underline mode on/off
[Format]
ASCII
ESC
n
Hex
1B
2D
n
Decimal
27
45
n
[Range]
n = 0, 1, 48, 49
[Default]
n = 0
[Description]
Turns underline mode on or off using n as follows:
[Notes]
The printer cannot underline the space set by HT
Changing the character size does not affect the current underline thickness.
When underline mode is turned off, the following data cannot be underlined,
but the thickness is maintained.
This command and bit 7 of ESC ! turn on and off underline mode in the
same way.
n
0, 48
1, 49
2, 50
Function
Turns off underline mode
Turns on underline mode (1-dot thick)
Turns on underline mode (1-dot thick)
CONTROL COMMANDS LIST
CHAPTER 5
m
0
1
Mode
8-dot
single-
density
8-dot
double-
density
Vertical
dot density
72 dpi
72 dpi
Dot
density
80 dpi
160 dpi
Set adjacent
dots
Permitted
Prohibited
MSW1-8: ON
Paper Width:76/ 69.5/ 57.5 (mm)
192/ 180/ 148
385/ 360 / 297
MSW 1-8: OFF
Paper Width:76/ 69.5/ 57.5 (mm)
200/ 180/ 150
400/ 360/ 300
Horizontal
Maximum number of dots