Labelsensor Property - Citizen CL-S700 Programming Manual

Android label print sdk
Hide thumbs Also See for CL-S700:
Table of Contents

Advertisement

2.2.29 LabelSensor property

Syntax
int LabelSensor
Attribute
Read/Write
Description
Sets the label sensor type.
Value
CLS_SELSENSOR_NONE (0)
CLS_SELSENSOR_SEETHROUGH (1)
CLS_SELSENSOR_REFLECT (2)
Setter method
int setLabelSensor (int labelSensor)
Returns CLS_SUCCESS (0) on success. See
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();
CITIZEN Android Label Print SDK — Programming Manual
Description
None.
This assumes that a continuous paper roll is used.
Therefore a valid length must be set in the
ContinuousMediaLength
(1101) otherwise.
Gap sensor.
To detect a gap between labels or a notch on tags.
Reflect sensor.
Detect a black mark on the back side of the label.
"2.1 Return
value" for the error codes.
46
property, returns CLS_E_ILLEGAL

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents