Example
To draw a rectangle with a thin double line, with the start position (100, 0) and the end position (500,
200) as its vertexes:
<script type="text/javascript" src="epos-print-3.x.x.js"></script>
<script type="text/javascript">
<!--
function buildMessage() {
var builder = new epson.ePOSBuilder();
builder.addPageBegin();
builder.addPageLine(100, 0, 500, 200, builder.LINE_THIN_DOUBLE);
builder.addPageEnd();
}
//-->
</script>
118