A <cut> element.
Tells the printer to cut the document.
Cut the feed after printing a hello world!
Cut the feed after printing a hello world!
new EposPrint().append( new EposText('Hello, World!\n') new EposCut(), )
Cut the feed after printing a customer receipt and a ticket
Cut the feed after printing a customer receipt and a ticket
new EposPrint().append( new EposText(` ...some text here... ----------------------- * Customer Receipt * Payment Method: Catgirlcard contactless ************1234 ----------------------- ...some text here... `) .align(EposAlign.Center()), new EposCut(), new EposText(` ...some text here... Your Product: `) .align(EposAlign.Center()), new EposFeed().units(30), new EposAztec( new Uint8Array(ticketData) ), new EposCut(), )
new
EposCut(type?: EposCutType)
toString(): string