Zebra Technologies ZQ110 Printer User Manual


 
ZQ110
Rev. 1.00
- 12 -
Mobile Printer
Windows SDK API Reference Guide
3-4 PrintBarcode
This function supports the 1-dimension and 2-dimension barcode printing function.
long PrintBarcode(
PCHAR Data,
long symbology,
long Height,
long Width,
long Alignment,
long TextPosition
);
[Parameters]
* Data
[in] ANSI Code Data ending with null. Barcode data to be printed are conveyed.
* symbology
[in] Defines the barcode type. The barcode type is defined in BxlConst.h.
Code
Value
Data Number Limit
Data Value Range
BXL_BCS_UPCA
101
11 ≤ n ≤ 12
48 ≤ data ≤ 57
BXL_BCS_UPCE
102
11 ≤ n ≤ 12
48 ≤ data ≤ 57
BXL_BCS_EAN13
BXL_BCS_JAN13
103
104
12 ≤ n ≤ 13
48 ≤ data ≤ 57
BXL_BCS_EAN8
BXL_BCS_JAN8
105
106
7 ≤ n ≤ 8
48 ≤ data ≤ 57
BXL_BCS_Code39
107
1 ≤ n ≤ 255
48 ≤ data ≤ 57, 65 ≤ data ≤ 90,
data =32,36,37,43,45,46,47
BXL_BCS_ITF
108
1 ≤ n ≤ 255
(even number)
48 ≤ data ≤ 57
BXL_BCS_Codabar
109
1 ≤ n ≤ 255
48 ≤ data ≤ 57, 65 ≤ data ≤ 68,
data =36,43,45,46,47,58
BXL_BCS_Code93
110
1 ≤ n ≤ 255
0 ≤ data ≤ 127
BXL_BCS_Code128
111
2 ≤ n ≤ 255
0 ≤ data ≤ 127
BXL_BCS_PDF417
200
Refer to Command
Manual
0 ≤ data ≤ 255
BXL_BCS_QRCODE
202~3
0 ≤ data ≤ 255
BXL_BCS_DATAMATRIX
204
0 ≤ data ≤ 255
BXL_BCS_GS1_xxxxx
50~64
0 ≤ data ≤ 255
BXL_BCS_AZTEC_xxxxx
210~212
0 ≤ data ≤ 255
* Height
[in] This value sets the barcode height in Dot units. The value range is 1~255 at one
dimensional barcodes and GS1 UCC/EAN-128 barcode or the range is 1~8 at GS1
DataBar barcode. The other two dimensional barcodes are not affected by this value.