![Citizen CL-E300 Скачать руководство пользователя страница 47](http://html1.mh-extra.com/html/citizen/cl-e300/cl-e300_programming-manual_2610002047.webp)
CITIZEN Android Label Print SDK
—
Programming Manual
47
2.2.30 PrintMethod property
Syntax
int PrintMethod
Attribute
Read/Write
Description
Sets the print method to either thermal transfer or direct thermal.
Value
Description
CLS_PRTMETHOD_TT (0)
Thermal transfer
CLS_PRTMETHOD_DT (1)
Direct thermal
Setter method
int setPrintMethod (int printMethod)
Returns CLS_SUCCESS (0) on success. See "
" for the error codes.
Getter method
int getPrintMethod ()
Returns the set value. If nothing has been set, it returns CLS_PROPERTY_DEFAULT(999999).
Example
int printMethod;
printer.setPrintMethod(LabelConst.CLS_PRTMETHOD_DT);
printMethod = printer.getPrintMethod();