EasyManua.ls Logo

BIXOLON SPP-R210 - Setprintareainpm

BIXOLON SPP-R210
38 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Mobile Printer
Rev. 1.00
- 28 -
3-19 SetPrintAreaInPM
This function sets the size and position of the printing area when it is in the Page Mode.
Int32 SetPrintAreaInPM (Int32 x, Int32 y, Int32 width, Int32 height)
[Parameters]
* Int32 x
[in] x-coordinate of the printing area
* Int32 y
[in] y-coordinate of the printing area
* Int32 width
[in] width of the printing area
* Int32 height
[in] height of the printing area
58mm wide paper: x = 0, y = 0, width = 384, height = 840
[Return Values]
Code
Value
Description
BXL_SUCCESS
0
Returns when the function succeeds.
BXL_STATUS_ERROR
-103
Unable to print.
BXL_NOT_ SUPPORT
-107
The printer is not in the Label Mode.
BXL_BAD_ARGUMENT
-108
The specified argument is incorrect.
BXL_WRITE_ERROR
-300
Data transmission failed.
* Example
BxlWinPhoneSDK bxlPrinter = new BxlWinPhoneSDK();
……
// Select Page Mode
if (bxlPrinter.SelectPageMode(true) != BXL_SUCCESS)
return;
bxlPrinter.SetPrintAreaInPM(0, 0, 416, 416);
……
bxlPrinter.FormFeed(2);

Other manuals for BIXOLON SPP-R210

Related product manuals