101
Chapter 4 ePOS-Print API
4
addHLine method
Adds horizontal line printing to the command buffer.
Draws horizontal lines.
Syntax
addHLine
(x1, x2, style);
Parameter
x
1:
(
Required
parameter,
Object
type
:
Number)
Specifies
the
start
position
of
the
horizontal
line
(in
dots).
Specifies
an
integer
from
0
to
65535.
x2
:
(
Required
parameter,
Object
type
:
Number)
Specifies
the
end
position
of
the
horizontal
line
(in
dots).
Specifies
an
integer
from
0
to
65535.
style
:
(
Optional
parameter,
Object
type
:
String)
Specifies
the
line
type.
Return value
Exception
Not
available
in
page
mode.
Constant (style)
Description
LINE_THIN
Solid line: Thin
LINE_MEDIUM
Solid line: Medium
LINE_THICK
Solid line: Thick
LINE_THIN_DOUBLE
Double line: Thin
LINE_MEDIUM_DOUBLE
Double line: Medium
LINE_THICK_DOUBLE
Double line: Thick
undefined (When not specified)
Solid line: Thin
Return value
Object type
ePOS-Print Builder Object
ePOS Builder
Exception
Object type
Parameter " ... " is invalid
Error
Содержание TM-T88V-i
Страница 10: ...10 ...
Страница 14: ...14 ePOS Print Canvas API Monochrome or Grayscale Monochrome ...
Страница 160: ...160 ...
Страница 216: ...216 Forced transmission mode Supported Recovery from an error Supported Reset Supported Command Supported 80mm ...
Страница 218: ...218 Forced transmission mode Supported Recovery from an error Supported Reset Supported Command Supported 80mm ...
Страница 222: ...222 Forced transmission mode Supported Recovery from an error Supported Reset Supported Command Supported 80mm 58mm ...
Страница 258: ...258 ...