Epson TM-U220 TM-U220 Technical Reference Guide - Page 97
ESC/POS command
View all Epson TM-U220 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 97 highlights
TM-U220 Technical Reference Guide The available NVRAM size for the TM-U220 is 128KB. 5.4.2.2 LetterQuality It is possible to change the speed and quality of a bitmap by using the XXXLetterQuality property. RecLetterQuality = TRUE 'print Receipt's bitmap in quality mode. RecLetterQuality = FALSE 'print Receipt's bitmap in speed mode. 5.4.2.3 Setting of printing position by escape sequence POS Printers support escape sequences that can be treated as printing data. The following commands are the escape sequence command for setting of printing position. Name Center Right justify Normal Data ESC |cA ESC |rA ESC |N Remarks Aligns following text in the center. Aligns following text at the right. Restores printer characteristics to normal condition. Note1: manner of "ESC |cA" and "ESC |rA" Characteristics are reset at the end of each print method or by a "Normal" sequence, so these escape sequences cannot be used in the following manner. OPOSPOSPrinter1.PrintNormal PTR_S_RECEIPT, Chr(&H1B) + "|cA" + "123" OPOSPOSPrinter1.PrintNormal PTR_S_RECEIPT, "456" + Chr(13) + Chr(10) The "123" characters will be printed in the center, but not under "456". When using a new method to print characters, it is necessary to add the desired escape sequence again. Note2 : limitation of "ESC |cA" and "ESC |rA" *During rotated printing mode (Left90, right90), these escape sequences will not work. *These will not work if they are not the first character of a line. *It is not possible to use these on PrintBitmap method. 5.4.2.4 Printable bitmap format in OPOS The printable bitmap formats are formats that meet all the following conditions. ❏ BMP files ❏ Monochrome, 16-color (4 bit), 256-color (8 bit) ❏ Uncompressed 5.4.3 ESC/POS command See "ESC/POS Application Programming Guide" about the method. Rev. H Application Development Information 5-9