68
addTextRotate method
Adds the text rotation setting to the command buffer.
Syntax
addTextRotate
(rotate);
Parameter
rotate
:
(
Required
parameter,
Object
type
:
Boolean)
Specifies
whether
to
rotate
text.
Return value
Exception
Example
• This
API
setting
also
applies
to
barcodes/two
dimensional
symbols.
• When
using
the
standard
mode,
specify
addTextAlign
in
ʺ
Position
at
the
beginning
of
lines
ʺ
.
• In
the
page
mode,
addTextAlign
method
specification
cannot
be
used.
• When
the
page
mode
is
selected
for
the
mode,
to
set
text
rotation,
use
the
instead
of
this
API
function.
Setting
Description
true or 11
Specifies rotated printing of text.
false or 0 (default)
Cancels rotated printing of text.
Return value
Object type
ePOS-Print Builder Object
ePOS Builder
Exception
Object type
Parameter " ... " is invalid
Error
<script type="text/javascript" src="epos-print-3.x.x.js"></script>
<script type="text/javascript">
<!--
function buildMessage() {
var builder = new epson.ePOSBuilder();
builder.addTextRotate(true);
}
//-->
</script>
To set text rotation:
Summary of Contents for TM-T88V-i
Page 10: ...10 ...
Page 14: ...14 ePOS Print Canvas API Monochrome or Grayscale Monochrome ...
Page 160: ...160 ...
Page 258: ...258 ...