EasyManua.ls Logo

Citizen CL-E321

Citizen CL-E321
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
46
2.2.29 LabelSensor property
Syntax
int LabelSensor
Attribute
Read/Write
Description
Sets the label sensor type.
Value
Description
CLS_SELSENSOR_NONE (0)
None.
This assumes that a continuous paper roll is used.
Therefore a valid length must be set in the
ContinuousMediaLength property, returns CLS_E_ILLEGAL
(1101) otherwise.
CLS_SELSENSOR_SEETHROUGH (1)
Gap sensor.
To detect a gap between labels or a notch on tags.
CLS_SELSENSOR_REFLECT (2)
Reflect sensor.
Detect a black mark on the back side of the label.
Setter method
int setLabelSensor (int labelSensor)
Returns CLS_SUCCESS (0) on success. See "2.1 Return value" for the error codes.
Getter method
int getLabelSensor ()
Returns the set value. If nothing has been set, it returns CLS_PROPERTY_DEFAULT(999999).
Example
// Other than "CLS_SELSENSOR_NONE"
int labelSensor;
printer.setLabelSensor(LabelConst.CLS_SELSENSOR_SEETHROUGH);
labelSensor = printer.getLabelSensor();
// "CLS_SELSENSOR_NONE"
int labelSensor;
printer.setContinuousMediaLength(100);
printer.setLabelSensor(LabelConst.CLS_SELSENSOR_NONE);
labelSensor = printer.getLabelSensor();

Table of Contents

Other manuals for Citizen CL-E321

Related product manuals