Zebra Technologies ZQ110 Printer User Manual


 
ZQ110
Rev. 1.00
- 16 -
Mobile Printer
Windows SDK API Reference Guide
3-6 PrintBitmap
This function prints image files. Only bmp files are supported.
long PrintBitmap (
LPCTSTR FileName,
long Width,
long Alignment,
long Level
);
[Parameters]
* FileName
[in] Expressed as a row of Unicode characters, the full path of the image file is set.
* Width
[in] This value is the width of the image file to be converted. The value range is 0~384.
When setting the value as below, the image size is modified to fit conditions.
Code
Value
Description
BXL_WIDTH_FULL
-1
Set to a value of 384, image is fit to full size of paper
BXL_WIDTH_NONE
-2
No variation given to image size
* Alignment
[in] This value sets the barcode alignment.
Code
Value
Description
BXL_ALIGNMENT_LEFT
0
Left-aligned
BXL_ALIGNMENT_CENTER
1
Centered
BXL_ALIGNMENT_RIGHT
2
Right-aligned
* Level
[in] This value sets the color level of the image. The value range is 0~100.
[Return Values]
Code
Value
Description
BXL_SUCCESS
0
Returns after function success
BXL_NOT_OPENED
101
Unable to open communication port
BXL_STATUS_ERROR
103
Error occurred during status check
BXL_WRITE_ERROR
300
Failure to transmit data
BXL_BITMAPLOAD_ERROR
400
Failure to read image file