Chapter 7 — Commands
ESim for the PC4 and PF8 Printer Programmer’s Reference Manual 37
• Brackets < > is an alternative method for writing unprintable
ASCII characters, for example <ACK> = ASCII 06 decimal.
A - Printing Text
Purpose: The A 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”
A Command Parameter Descriptions
Parameter Description
p
1
Horizontal start position (x) in dots.
p
2
Vertical start position (y) in dots.
p
3
Rotation:
0 = No rotation (left to right)
1 = 90° rotation (left to right)
2 = 180° rotation (left to right)
3 = 270° rotation (left to right)
4 = No rotation. Top to bottom. Asian fonts (p4=8) only.
5 = 90° rotation. Top to bottom. Asian fonts (p4=8) only.
6 = 180° rotation. Top to bottom. Asian fonts (p4=8) only.
7 = 270° rotation. Top to bottom. Asian fonts (p4=8) only.
p
4
Font selection:
203.2 dpi (8 dots/mm)
1 = 20.3 cpi, 6 points (8 x 12 dots)
2 = 16.9 cpi, 7 points (10 x 16 dots)
3 = 14.5 cpi, 10 points (12 x 20 dots)
4 = 12.7 cpi, 12 points (14 x 24 dots)
5 = 5.6 cpi, 24 points (32 x 48 dots)
8 = Asian fonts:
Korean, Korea.24
Chinese GB, GB.24
Chinese BIG-5, Big5.24
Japanese, Japanese.24
Latin (PC4 only)
300 dpi (11.81 dots/mm)
25 cpi, 4 points (12 x 20 dots)
8.75 cpi, 6 points (16 x 28 dots)
15 cpi, 8 points (20 x 36 dots)
12.5 cpi, 10 points (24 x 44 dots)
6.25 cpi, 21 points (48 x 80 dots)
(24 x 24 dots in a double-byte)
(24 x 24 dots in a double-byte)
(24 x 24 dots in a double-byte)
(24 x 24 dots in a double-byte)
(24 x 24 dots in a single-byte,
included in all .24 fonts) (dot size
controlled by ES command.)