EasyManua.ls Logo

Citizen CL-E300 - Measurementunit Property

Citizen CL-E300
95 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
CITIZEN Android Label Print SDK — Programming Manual
34
2.2.17 MeasurementUnit property
Syntax
int MeasurementUnit
Attribute
Read/Write
Description
Sets the measurement unit.
Value
Description
CLS_UNIT_MILLI (0)
Metric system
CLS_UNIT_INCH (1)
Inch system
Setter method
int setMeasurementUnit (int measurementUnit)
The default value in the printer is "1."
Returns CLS_SUCCESS (0) on success. See "2.1 Return value" for the error codes.
Getter method
int getMeasurementUnit ()
Returns the set value. If nothing has been set, it returns CLS_PROPERTY_DEFAULT(999999).
Example
int unit;
printer.setMeasurementUnit(LabelConst.CLS_UNIT_MILLI);
unit = printer.getMeasurementUnit();

Table of Contents

Related product manuals