EasyManua.ls Logo

BIXOLON SPP-R210 - Sethorizontalpositioninpm

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
- 31 -
3-22 SetHorizontalPositionInPM
This function sets the starting position for printing.
Int32 SetHorizontalPositionInPM (Int32 position)
[Parameters]
* Int32 position
[in] Sets the position to start printing.
[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.SetPrintDirectionInPM(BXL_PD_LEFT_TO_RIGHT);
bxlPrinter.SetVerticalPositionInPM(160);
bxlPrinter.SetHorizontalPositionInPM(40);
bxlPrinter.PrintText(“Bixolon Mobile Printer.”, 0, BXL_FT_DEFAULT, BXL_TS_0WIDTH |
BXL_TS_0HEIGHT);
……
bxlPrinter.PrintDataInPM();
bxlPrinter.FormFeed(2);

Other manuals for BIXOLON SPP-R210

Related product manuals