User`s manual
1 DATECS EP-50
40 41
User’s Manual
0 Canceling an underline.
1 Specifying an underline for 1-dot width.
2 Specifying an underline for 2-dots width.
[Caution]
• An underline is attached to the full character width. It is, however,
not attached to the part having been skipped by horizontal tab
command.
• An underline is not attached to a 90
0
- right-turned characters.
[See Also] ESC !
[Sample Program]
LPRINT CHR$(&H1B) + “-” + CHR$(0);
LPRINT “AAAAA”;
LPRINT CHR$(&H1B) + “-” + CHR$(1);
LPRINT “AAAAA” + CHR$(&HA);
END
[Print Results]
14. ESC .
Selftest.
[Code] [1Bh] + [2Eh]
[Outline] Prints character table, character samples with different attributes
and diagnostic information.
[See also] ESC ,
15. ESC ,
Printing diagnostic information
[Code] [1Bh] + [2Ch]
[Outline] Printing current intensity level, temperature, code tables, communication
mode, protocol and serial port speed if a serial communication board
is installed.
[See also] ESC .
[Range] {m = 16, 17, 18, 20 bit image mode }
{0 <= n <= 40h}
{0 <= d <= FFh}
{k = n * 24 * 48} (m = 16)
{k = n * 24 * 48} (m = 17) { After decompression }
{k = n * h * 48} (m = 18) { After decompression }
{k = n * 24 * 48} (m = 20) { After decompression }
{0 <= a <= 24 (Used only for mode 18.)}
{f = 0 (Used only for mode 18.)}
[Outline] In these graphics modes is sent a graphics block with variable width
n*8 dots and height 24 dots for modes 16,17 and a dots for mode 18. In
mode 17 data is compressed, and the bytes count specified is before
the compression. In mode 16 the same data is without compression.
Mode 20 is similar to mode 17, but every byte is mirrored before putting
in the print buffer (bits 0 and 7, 1 and 6, 2 and 5, 3 and 4 change
places). All modes are high resolution (203 x 203 DPI).
• 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”.
[Caution]
• When the values set in m (bit image mode) are out of the above
range, the data following after n is processed as normal printing data.
• After completion of bit image printing, printer returns to normal data
processing mode.
[Compression procedure for mode 17 and 18]
A simple RLE encoding like this in PCX files is used. If two most
significant bits of the byte are set, the 6 LSB contain a repeat
counter (1-63), and the next byte contains the data to be repeated.
A single data byte with 2 MSB set must be sent as two bytes.
13. ESC – n
Specifying/ Canceling Underline
[Code] [1Bh] + [2Dh] + n
[Range] {0 <= n <= 2}
[Outline] Specifying/canceling an underline.
• Types of underlines by n value are shown below: