132
addCommand method
Adds commands to the command buffer. Sends ESC/POS commands.
Syntax
addCommand
(data);
Parameter
data
:
(Optional
parameter,
Object
type
:
String)
Specifies
ESC/POS
command
as
a
character
string.
Return value
Exception
Example
ESC/POS
commands
are
not
made
public.
For
details,
contact
the
dealer.
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();
var doc = builder.addCommand('ABC\x44\x45\x0a');
}
//-->
</script>
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 ...