Line Thermal Printer DEP-50
36
37
User’s Manual
If switch 5 is
ON
:
[Code]
[1Bh] + [26h] + a + n1 + n2 + D1
1
+ … + D
(m-n+1)k
[Range]
{ m = 0-3 Subcommand}
{20h <= n1 <= FFh }
{n1 <= n2 <= FFh }
{k = (n2-n1+1)*48 for m=2 and k = (n2-n1+1)*16 for m=3 }
[Outline]
Defines a group of user characters.
m=0
: Copy internal character set A to user character set A
(Parameters n1, n2 and d are omitted)
m=1
: Copy internal character set B to user character set B
(Parameters n1, n2 and d are omitted)
m=2
: Define character group with ASCII codes between >=n1 and
<=n2 for character set A (12
×
24). Every character is 48 bytes,
two bytes for each line. Only the first nibble of the second
byte is used.
m=3
: Define character group with ASCII codes between >=n1 and
<=n2 for character set B (9
×
16). Every character is 16 bytes.
n1
is the ASCII code of the first and
n2
is the ASCII code of the last
of (n2-n1+1) consecutive symbols. To define a single symbol n1=n2.
d
is the data that defines the symbols. Every Font A symbol consists
of 48 bytes while every Font B symbol consists of 16 bytes.
A Font A symbol is defined left to right, top to bottom, two bytes for
each horizontal line, as only the four most significant bits of the
second byte are used. Every bit denotes one dot. A bit set to ‘1’
means black dot. The most significant bit is the starting.
Every horizontal line of Font B symbol consists of one byte, as the
ninth point is always white. The most significant bit is the starting.
The user-defined characters are kept after printer off.
[See Also]
ESC %
[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 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]
ESC ! n
Collective Specifying Printing Mode
[Code]
[1Bh] + [21h] + n
[Range]
{0 <= n <= FFh}
[Outline]
Printing mode is assigned. Each n bit indicates the following:
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
↑ ↑
↑
↑
↓
↓↓