addReset method
Adds the printer reset to the command buffer. (in firmware Ver.3.0 and later)
Other printing commands in the print document are ignored.
Syntax
addReset();
Return value
ePOS-Print Builder Object
Exception
Parameter " ... " is invalid
Example
Resets the printer:
<script type="text/javascript" src="epos-print-3.x.x.js"></script>
<script type="text/javascript">
<!--
function buildMessage() {
var builder = new epson.ePOSBuilder();
builder.addReset();
}
//-->
</script>
Return value
Exception
Chapter 4 ePOS-Print API
Object type
ePOS Builder
Object type
Error
131
4