I did run following code on Epson T20II printer with generic/text driver but
issue is that cutter ran first and then print receipt.
qz.append("\x1B\x40");
qz.append("\x1B\x70\x30\x19\x19\r"); // open cash drawer
qz.appendImage("http://local1/logo/logo.jpg", "ESCP", "single");
window["qzDoneAppending"] = function() {
qz.append(" My Company \r\n");
qz.append(" Address \r\n");
qz.append(" Details \r\n");
qz.append(" Have a nice day..!!! \r\n");
qz.append("\r\n");
qz.append("\x1D\x56\x41"); // cut paper
qz.print();
window['qzDoneAppending'] = null;
}
What is wrong or what should be correct code for open cash draewer,print
receipt and then cut the paper ?
Original issue reported on code.google.com by pparesh...@gmail.com on 22 Jan 2015 at 3:13
Original issue reported on code.google.com by
pparesh...@gmail.com
on 22 Jan 2015 at 3:13