User`s manual

1 DATECS EP-50
38 39
User’s Manual
12. ESC * m n1 n2 [ d ] k
Specifying the Bit Image Mode
[Code] [1Bh] + [2Ah] + m + n1 + n2 + D
1
+ … + D
k
[Range] {m= 0, 1, 32, 33 bit image mode (See the table below.)}
{0 <= n1 <= FFh}
{0 <= n2 <= 3}
{0 <=d <=FFh)
{k = n1 + 256 X n2 (m = 0, 1)
{k = (n1+256 X n2) X 3} (m = 32, 33)
[Outline] According to the number of dots specified in n, n2, specify the bit
image of mode m.
• The total number of dots printed in the bit image is equal to
n1 + (256 x n2).
• When bit image data have been input in excess of dot position of
one line (384 dots), the excess data are discarded.
• d is bit image data, the bits subject to printing are taken as “1” and
those not as “0”.
• The bit image modes specified by m are shown as follows:
Vertical Direction Horizontal Direction
m Mode Dots Dot Density Dot Density Max. Dots
0 8-dot single density 8 67 DPI 101 DPI 192
1 8-dot double density 8 67 DPI 203 DPI 384
32 24-dot single density 24 203 DPI 101 DPI 192
33 24-dot double density 24 203 DPI 203 DPI 384
[Caution] When the values set in m (bit image mode) are out of the above range,
the data following after n1 is processed as normal printing data.
After completion of bit image printing, printer returns to normal data
processing mode.
The command has another variant with four new modes:
ESC * m n[ d ] k
ESC * m n a f [ d ] k
Specifying the Bit Image Mode (Sending graphics data horizontally)
[Code] [1Bh] + [2Ah] + m + n + { a + [00h] } +D
1
+ … +D
k
[Caution] With double height and double width being specified simultaneously,
double wide and double high characters are consisted.
An underline is attached to the full character width, which, however,
is not attached to the part having been skipped by the horizontal tab.
Neither is it attached to 90°-right-turned characters.
The underline width is as having been specified by <ESC - >.
(The default setting is 1 dot width)
In case that double wide character and normal character exist in same
one line, the layout of underline is consistent one.
[Default] n = 0
[See Also] ESC E, ESC –
[Sample Program]
LPRINT CHR$(&H1B) + “!” + CHR$(&H00) + “H” ;
LPRINT CHR$(&H1B) + “!” + CHR$(&H01) + “H” ;
LPRINT CHR$(&H1B) + “!” + CHR$(&H08) + “H” ;
LPRINT CHR$(&H1B) + “!” + CHR$(&H10) + “H” ;
LPRINT CHR$(&H1B) + “!” + CHR$(&H20) + “H” ;
LPRINT CHR$(&H1B) + “!” + CHR$(&HB9) + “H” ;
LPRINT CHR$(&HA) ;
END
[Print Results]
Bit Function Value 0 Value 1
0 Character Font Font A Font B
1 Undefined
2 Undefined
3 High-lighting Canceled Specified
4 Double height Canceled Specified
5 Double width Canceled Specified
6 Undefined
7 Underline Canceled Specified
Font A
Font B
Font A bold
Font B bold double heigth,
double widht, underline
Font A underline
Font A double widht
Font A bold double heigth
↑↑