64
CITIZEN UWP POS Print SDK - Programming Manual
2.3.32. PageModePrintArea property
Syntax
string PageModePrintArea
Attribute
Read/Write
Description
This property holds the print area of Page Mode. Expressed in the unit of measure given by
(default dots). The maximum print area is the page area.
The string consists of four ASCII numbers separated by commas, in the following order: horizontal start,
vertical start, horizontal size, vertical size.
Text written to the right edge of the print area will wrap to the next line. Any text or image written
beyond the bottom of the print area will be truncated.
For example, if
the string is “50,100,200,400”, then the station print area is a rectangle beginning
at the
point (50,100), and continuing up to the point (249,499).
The ConnectAsync method must be complete before accessing this property. This property is initialized
to “0,0,0,0”
at ConnectAsync method.
Set property
int SetPageModePrintArea (String area)
Please specify the property value that you want to set in the parameter.
Return CMP_SUCCESS (0) in success. Please refer to "
" for the error code except it.
Get property
String GetPageModePrintArea ()
Returns the Page Mode print area that is set as the return value.