
ATt,x,y,w,h,g,r,d,r1,data - Print downloaded true type font
Syntax
ATt,x,y,w,h,g,r,d,r1,data
Parameter
t: TTF type, accepted values: from A to Z
x: Hori of left-bottom position of text (unit: dot, 1 mm = 8 dots or 12 dots)
y: Vert of left-bottom position of text (unit: dot, 1 mm = 8 dots or 12 dots)
w: The width of font (8~2000 dot)
h: The height of font (8~2000 dot)
g: Space between characters (0~200 dot)
r: The rotation of font from 0 to 3
0) 0
°
1) 90
°
2) 180
°
3) 270
°
d: DType
Æ
0: ASCII A~Z: Unicode table
r1: Always set 0
data: Data to be printed
Description
Print downloaded True Type Font.
Further
Information
When the width (w) and the height (h) of TTF are equal, the printing result of TTF will be
exactly the same with Windows font. There is a formula to analogize the Windows font size
from TTF size:
TTFheightsize = WindowsFontsize*dpi/72
For example:
If user want to print Windows font 72pt on 203dpi printer, then the TTFheightsize = 72*203/72
= 203. And the TTFwidthsize should be equal to TTFheightsize, which is 203. As a result,
when the width and height of TTF both are 203, the printout will be the same with Windows
font 72pt.
Bt,x,y,narrow,wide,height,rotation,readable,data - Barcode
Syntax
Bt,x,y,narrow,wide,height,rotation,readable,data
t: Barcode type, see table below.
type Barcode
type Barcode
A Code
39
P Code
93
A2
Code 39 with check digit
Q
Code 128 (auto subset A/B/C)
B
EAN 8
Q2
Code 128 (subset A/B/C)
C
EAN 8 - Add ON 2
R
UCC 128
D
EAN 8 - Add ON 5
S
Post NET
E
EAN 13
T
DUN 14 ONLY 90
F
EAN 13 – Add ON 2
U
EAN 128
G
EAN 13 – Add ON 5
V
RPS 128
H
UPC A
W
China Postal Code
I
UPC A - Add ON 2
X
HIBC
J
UPC A - Add ON 5
Y
Plessey
K
UPC E
Z
I 2 of 5 with Shipping Bearer Bars
L
UPC E - Add ON 2
1
UCC/EAN-128 K-MART
M
UPC E - Add ON 5
2
UCC/EAN-128 RANDAN
N
I 2 of 5
3
Telepen
N2
I 2 of 5 with check digit
4
FIM
O Codabar
Parameter
x: Hori. of top-left position of barcode (unit: dot, 1 mm = 8 dots or 12 dots)
y: Vert. of top-left position of barcode (unit: dot, 1 mm = 8 dots or 12 dots)
narrow (x dimension): narrow bar from 1 ~ 10 dots(0.125 ~ 1.25 mm)
**DUN 14 narrow setting from 5 ~ 8 dots; UPC/EAN narrow setting from 2 ~ 4 dots **
wide: wide bar from 2 ~ 30 dots(0.25 ~ 0.5 mm); **CODE 39, 93, CODABAR & I 2 of 5**
height: Barcode height in dots (24 ~ 1200 dots)
rotation: rotation of barcode (0 ~ 3)
0) 0
°
1) 90
°
2) 180
°
3) 270
°
readable:
0 – human readable off
3 – below barcode, centered
6 – above right
1 – below barcode, left
4 – above barcode, centered
2 – above barcode, left
5 – below right
data: barcode data.
20