2.2.16 ContinuousMediaLength property
Syntax
int ContinuousMediaLength
Attribute
Read/Write
Description
Sets a paper length for continuous paper.
Inch system 0001 – 9999 (0.01 - 99.99 inches)
Metric system 0001 – 9999 (0.1 - 999.9 mm)
Setter method
int setContinuousMediaLength (int continuousMediaLength)
The default value in the printer is "0000."
Returns CLS_SUCCESS (0) on success. See "2.1 Return value" for the error codes.
Getter method
int getContinuousMediaLength ()
Returns the set value. If nothing has been set, it returns CLS_PROPERTY_DEFAULT(999999).
Example
int mediaLength;
printer.setContinuousMediaLength(2000);
mediaLength = printer.getContinuousMediaLength();