Zebra Technologies ZQ110 Printer User Manual


 
ZQ110
Rev. 1.00
- 14 -
Mobile Printer
Windows SDK API Reference Guide
3-5 PrintText
This function supports the text printing function.
long PrintText(
LPCTSTR Data,
long Alignment,
long Attribute,
long TextSize
);
[Parameters]
* Data
[in] Unicode Data ending with null. Conveys the barcode data to be printed.
* 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
* Attribute
[in] This value sets the text properties. The following values can be duplicated.
Code
Value
Description
BXL_FT_DEFAULT
0
Font A, print using the basic device font
Basic setting value
BXL_FT_FONTB
1
Set to Font B
BXL_FT_BOLD
2
Adds Bold lettering attribute
BXL_FT_UNDERLINE
4
Adds Underlining attribute
BXL_FT_REVERSE
8
Adds Reverse lettering attribute