ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual
1
Chapter —Commands
A – Print Text
Description
This command is used to print an ASCII text string.
Syntax
Ap
1
,p
2
,p
3
,p
4
,p
5
,p
6
,p
7
,"DATA"
Parameters
p
1
Horizontal start position (X) in dots.
p
2
Vertical start position (Y) in dots.
p
3
0 No Rotation. Left to right.
1 90 degrees rotation. Left to right
2 180 degrees rotation. Left to right
3 270 degrees rotation. Left to right
4 No Rotation. Top to bottom. Asian fonts (p4=8) only
5 90 degrees rotation. Top to bottom. Asian fonts (p4=8) only
6 180 degrees rotation. Top to bottom. Asian fonts (p4=8) only
7 270 degrees rotation. Top to bottom. Asian fonts (p4=8) only
p
4
Font Selection:
203.2 dpi (8 dots/mm)
300 dpi (11.81 dots/mm)
1 20.3 cpi, 6 points (8 x 12 dots)
25 cpi, 4 points (12 x 20 dots)
2 16.9 cpi, 7 points (10 x 16 dots)
8.75 cpi, 6 points (16 x 28 dots)
3 14.5 cpi, 10 points (12 x 20 dots)
15 cpi, 8 points (20 x 36 dots)
4 12.7 cpi, 12 points (14 x 24 dots)
12.5 cpi, 10 points (24 x 44 dots)
5 5.6 cpi, 24 points (32 x 48 dots)
6.25 cpi, 21 points (48 x 80 dots)
8 Asian fonts :
- Korean
Korean.24
(24 x 24 dots in double-byte)
- Chinese GB
GB.24
(24 x 24 dots in double-byte)
- Chinese BIG-5 Big5.24
(24 x 24 dots in double-byte)
- Japanese
Japanese.24
(24 x 24 dots in double-byte)
- Latin
(12 x 24 dots in single-byte,
included in all .24 fonts)
a–z Soft Fonts
(dot size controlled by ES com-
mand)
p
5
Horizontal multiplier 1, 2, 3, 4, 6, 8.
p
6
Vertical multiplier 1, 2, 3, 4, 5, 6, 7, 8, 9.
p
7
N Normal image
R Reverse image
"DATA"
Represents a fixed data field.
When using Asian double-byte fonts, specify both bytes as ASCII decimal
values, starting with the first value being larger than ASCII 127 dec (ASCII
7F hex), or below ASCII 127 (ASCII 7F hex) decimal to specify a Latin character.