Pagemodeprintdirection Property - Citizen CT-D101 Series Programming Manual

Hide thumbs Also See for CT-D101 Series:
Table of Contents

Advertisement

2.3.33. PageModePrintDirection property

Syntax
int PageModePrintDirection
Attribute
Read/Write
Description
This property holds the print direction of the Page Mode print area. The print direction values are as
follows.
Value
CMP_PD_LEFT_TO_RIGHT
CMP_PD_BOTTOM_TO_TOP
CMP_PD_RIGHT_TO_LEFT
CMP_PD_TOP_TO_BOTTOM
Setting this property may also change PageModeHorizontalPosition and PageModeVerticalPosition.
Setting this property will have an effect on the current print area. By changing the print area, it is
possible to generate a receipt or slip with text printed in multiple rotations.
The ConnectAsync method must be complete before accessing this property. This property is initialized
to CMP_PD_LEFT_TO_RIGHT at ConnectAsync method.
Set property
int SetPageModePrintDirection (int direction)
Please specify the property value that you want to set in the parameter.
Return CMP_SUCCESS (0) in success. Please refer to
Get property
int GetPageModePrintDirection ()
Returns the print direction of Page Mode print area that is set as the return value.
Meaning
Print left to right, starting at top left position of the print area, i.e.,
normal printing.
Print bottom to top, starting at the bottom left position of the print
area, i.e., rotated left 90° printing.
Print right to left, starting at the bottom right position of the print area,
i.e., upside down printing.
Print top to bottom, starting at the top right position of the print area,
i.e., rotated right 90° printing.
"2.3.1. Return
65
CITIZEN UWP POS Print SDK - Programming Manual
value" for the error code except it.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents