TM-P60 Technical Reference Guide

4.6.2 OPOS

EPSON OPOS ADK provides a tool, “TMFLogo” that enables registration of a bitmap image in the NVRAM of an EPSON TM series printer. The tool can be used from the device specific settings of the SetupPOS utility. The bitmap image in the NVRAM can be printed with a printer by using the DirectIO method. Concerning the available NVRAM size for the TM-U220, refer to the ADG for TM-U220 in the OPOS ADK.

4.6.2.1 Printing method

Print stored bitmap by DirectIO method.

*Command : PTR_DI_PRINT_FLASH_BITMAP

Note

NV graphics data shares the domain used by user NV memory record data; therefore, the entire capacity of the domain to which NV graphics data and user NV memory data are defined is targeted. The TM-P60’s entire capacity is 384 KB.

4.6.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.

4.6.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

Data

Remarks

 

 

 

Center

ESC cA

Aligns following text in the center.

 

 

 

Right justify

ESC rA

Aligns following text at the right.

 

 

 

Normal

ESC N

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.

Rev. D

Application Development Information 4-9

Page 69
Image 69
Epson TM-P60 manual Printing method, LetterQuality, Setting of printing position by escape sequence