Setter method
int setPrintMethod (int printMethod)
Returns CLS_SUCCESS (0) on success. See "2.1 Return value" 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();