BXLLIB.DLL / BXLIBX.CAB
Copyright © BIXOLON Co., Ltd.
6. SetPaper
The SetPaper function set up paper of printer.
BOOL
Se
t
Pa
p
e
r
(
int
n
H
o
r
i
z
on
t
a
l
Ma
r
g
i
n
,
int
n
Ve
r
t
i
c
a
l
Ma
r
g
i
n
,
int
n
Pa
p
e
r
W
i
d
t
h
,
int
n
Pa
p
e
r
L
e
ng
t
h
,
int
n
Me
d
i
aT
y
p
e,
int
n
O
ff
Se
t
int
nGapLengthORThicknessOfBlackLine
)
;
Pa
r
a
m
e
t
e
r
s
nHorizontalMargin
[in] Horizontal margin
nVerticalMargin
[in] Vertical margin
nPaperWidth
[in] Paper width
nPaperHeight
[in] Paper height
nMediaType
[in] Media type
0:
Gap
1: Continues
2: Blackmark
nOffset
[in] Offset of gap or blackmark
nGapLengthORThicknessOfBlackLine
[in] Gap length or thickness of black line [dots]
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.
7. ClearBuffer
The ClearBuffer function clean up memory of printer.
BOOL
C
l
ea
r
B
u
ff
e
r
()
;
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.