Controling Thermal printer with autocutter

Good morning everyone,

I am trying to dispense the ticket using an appPOS80AM Thermal printer, to use an arduino UNO and a USB Host Shield 2.0, to use the USBPrinter_uhs2 library plus the ESC_POS_Printer library, and it works perfectly, the problem comes when it comes to cutting the paper automatically.

i’m trying to modify the library ESC_POS_Printer by adding the corresponding command to the paper cut:

void ESC_POS_Printer::cutPaper(){
    writeBytes(ASCII_GS, 'V', 1);
}

I attached the command to cut the paper corresponding to the printer.

Any suggestions or help will be very grateful.

cut_paper.pdf (286 KB)

(deleted)