2.2.26 MediaHandling property
Syntax
int MediaHandling
Attribute
Read/Write
Description
Sets the way how to handle media after printing.
Value
CLS_MEDIAHANDLING_NONE (0)
CLS_MEDIAHANDLING_TEAROFF (1)
CLS_MEDIAHANDLING_DISPENSES (2)
CLS_MEDIAHANDLING_PAUSE (3)
CLS_MEDIAHANDLING_CUT (4)
CLS_MEDIAHANDLING_CUTANDPAUSE (5)
CLS_MEDIAHANDLING_PEELOFF (6)
CLS_MEDIAHANDLING_REWIND (7)
Setter method
int setMediaHandling (int mediaHandling)
Returns CLS_SUCCESS (0) on success. See
Getter method
int getMediaHandling ()
Returns the set value. If nothing has been set, it returns CLS_PROPERTY_DEFAULT(999999).
Example
int mediaHandling;
printer.setMediaHandling(LabelConst.CLS_MEDIAHANDLING_PAUSE);
mediaHandling = printer.getMediaHandling();
CITIZEN Android Label Print SDK — Programming Manual
Description
To print without any special actions.
To feed labels to the tear bar.
To feed labels to the tear bar, and wait for removal.
To pause after printing.
To cut after printing.
To cut and pause after printing.
To peel labels off the backing and wait for removal.
To use a rewinder.
"2.1 Return
value" for the error codes.
43