EasyManua.ls Logo

BIXOLON SPP-R210 - Quad Charger Battery Charging

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
- 15 -
3-6 PrintImage
This function prints image files. Supported formats vary with different platforms.
async Task<Int32> PrintImage (string fileName, Int32 Width, Int32 Alignment, Int32 Level);
[Parameters]
* fileName
[in] This is the string for the entire path of an image file. JPG, BMP and GIF are
supported.
* Width
[in] This value sets the width of the image file to be converted. The value ranges from
0 to 384, 576 and 832 for 2, 3 and 4-inch printer respectively.
The size of the image is adjusted according to the following values:
Code
Value
Description
BXL_WIDTH_FULL
1
The image converts to fit a different size of paper
according to the printer size.
BXL_WIDTH_NONE
2
The size of the image remains the same.
* Alignment
[in] This value sets the alignment of the barcode.
Code
Value
Description
BXL_ALIGNMENT_LEFT
0
Align to left
BXL_ALIGNMENT_CENTER
1
Align to center
BXL_ALIGNMENT_RIGHT
2
Align to right
* Level
[in] This value sets the color level of the image and ranges 0-100.
[Return Values]
Code
Value
Description
BXL_SUCCESS
0
Returns when the function succeeds.
BXL_STATUS_ERROR
-103
Unable to print.
BXL_WRITE_ERROR
-300
Data transmission failed.
BXL_BITMAPLOAD_ERROR
-400
Unable to read the image file.
* Example
BxlWinPhoneSDK bxlPrinter = new BxlWinPhoneSDK();
……
bxlPrinter.PrintBitmap(strDirBmp, 300, BXL_ALIGNMENT_CENTER, 50);
……

Other manuals for BIXOLON SPP-R210

Related product manuals