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]
BxlWinPhoneSDK bxlPrinter = new BxlWinPhoneSDK();
……
// Select Page Mode
if (bxlPrinter.SelectPageMode(true) != BXL_SUCCESS)
return;
bxlPrinter.SetPrintAreaInPM(0, 0, 416, 416);
……
bxlPrinter.FormFeed(2);