2.2.24 VerticalOffset property
Syntax
int VerticalOffset
Attribute
Read/Write
Description
Sets the vertical offset to adjust the vertical printing position on the paper.
Inch system 0000 – 9999 (0.00 inch - 99.99 inches)
Metric system 0000 – 9999 (0.0 mm - 999.9 mm)
Default value 0000
Setter method
int setVerticalOffset (int verticalOffset)
Returns CLS_SUCCESS (0) on success. See "2.1 Return value" for the error codes.
Getter method
int getVerticalOffset ()
Returns the set value. If nothing has been set, it returns CLS_PROPERTY_DEFAULT(999999).
Example
int verticalOffset;
printer.setVerticalOffset(10);
verticalOffset = printer.getVerticalOffset();