Addcommand Method - Epson TM-T88V-i User Manual

Epos-print api
Hide thumbs Also See for TM-T88V-i:
Table of Contents

Advertisement

addCommand method

Adds commands to the command buffer. Sends ESC/POS commands.
ESC/POS commands are not made public.  For details, contact the dealer.
Syntax
addCommand(data);
Parameter
 data :
(Optional parameter, Object type : String)
Specifies ESC/POS command as a character string. 
Return value
ePOS-Print Builder Object
Exception
Parameter " ... " is invalid
Example
<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>
132
Return value
Exception
Object type
ePOS Builder
Object type
Error

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tm-t70-iTm-l90-i

Table of Contents