![Citizen CL-E300 Скачать руководство пользователя страница 44](http://html1.mh-extra.com/html/citizen/cl-e300/cl-e300_programming-manual_2610002044.webp)
CITIZEN Android Label Print SDK
—
Programming Manual
44
2.2.27 StartOffset property
Syntax
int StartOffset
Attribute
Read/Write
Description
Specifies the distance between paper sensor and print head to change the print starting position.
Inch system
Metric system
Initial
value
Minimum
value
Max
value
Initial
value
Minimum
value
Max
value
0220
0120
0320
0559
0305
0813
*0.01 inches or 0.1 mm
Setter method
int setStartOffset(int startOffset)
Make sure to set a valid value since the consistency with the selected measurement unit will
never be checked.
Returns CLS_SUCCESS (0) on success. See "
" for the error codes.
Getter method
int getStartOffset ()
Returns the set value. If nothing has been set, it returns CLS_PROPERTY_DEFAULT(999999).
Example
int startOffset;
printer.setStartOffset(220);
startOffset = printer.getStartOffset();