BXLLIB.DLL / BXLIBX.CAB
Copyright © BIXOLON Co., Ltd.
10. PrintDeviceFont
The PrintDeviceFont function print the device font of printer.
BOOL
P
ri
n
t
De
vic
eF
on
t
(
int
n
H
o
ri
z
on
t
a
l
P
o
s
,
int
n
Ve
r
ti
c
a
l
P
o
s
,
int
n
F
on
t
Na
m
e,
int
n
H
o
ri
z
on
t
a
l
M
u
l
t
i
,
int
n
Ve
r
ti
c
a
l
M
u
l
t
i
,
int
n
R
o
t
a
t
i
on
,
bool
b
B
o
l
d
,
LPCSTR
s
zTe
x
t
)
;
Pa
r
a
m
e
t
e
r
s
nHorizontalPos
[in] Horizontal position
nVerticalPos
[in] Vertical position
nFontName
[in] Font Name
[0 ~ 9: EnglishFont]
0: Size 6 (9 x 15) 1: Size 8 (12 x 20)
2: Size 10 (16 x 25) 3: Size 12 (19 x 30)
4: Size 15 (24 x 38) 5: Size 20 (32 x 50)
6: Size 30 (48 x 76) 7: Size 14 (22 x 34)
8: Size 18 (28 x 44) 9: Size 24 (37 x 587)
[a ~ f] Korean Font or Chinese Font
a: Size 1 (16 x 16) b: Size 2 (24 x 24)
c: Size 3 (20 x 20) d: Size 4 (26 x 26)
e: Size 5 (38 x 38) m: GB2312 (24 x 24)
n: BIG5 (24 x 24)
nHorizontalMulti
[in] Font width multiplier (1 ~ 4)
nVerticalMulti
[in] Font height
multiplier
nRotation
[in] Rotation type
0: No rotation
1: 90 degrees (Clockwise)
2: 180 degrees (Clockwise)
3: 270 degrees (Clockwise)
bBold
[in] Bold font
0 or FALSE: Normal
1 or TRUE: Bold
szText
[in] Text to print
Return
Va
l
u
e
s
If the function succeeds, the return value is 1 or TRUE.
If the function fails, the return value is zero or FALSE.