Send esc command to dotmatrix
I would like to know if it's possible to send a esc command to my dotmatrix.
It's POS Printer, and I would like to cut the paper and other functions.
Thank you
(sorry for my english!)
It's POS Printer, and I would like to cut the paper and other functions.
Thank you
(sorry for my english!)
Comments
It is possible.
var
F:File;
AssignFile(F,'LPT1');
Writeln(F,#27+#64); //Send escape sequence (this is reset)
CloseFile(F);
I can't remember the cutting knife ASCII sequence though I uses
CITIZEN Printer the cheap one.
Eject the cash drawer use the same technique but coud be com1 com2 instead
of LPT. Hope I did not miss anything.
Jirayu