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!)

Comments

  • edited 12:48AM

    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

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.