Zebra Technologies ZQ110 Printer User Manual


 
ZQ110
Rev. 1.00
- 22 -
Mobile Printer
Windows SDK API Reference Guide
[Return Values]
If the function is successful, MSR Full track data will be returned. If it has failed, the
function will return error code and NULL pointer.
Code
Value
Description
BXL_SUCCESS
0
Returns after function success
BXL_NOT_OPENED
101
Unable to open communication port
BXL_NOT_SUPPORT
107
If sentinel mode set 2, it isnt support
BXLMSR_DATAEMPTY
603
Not in READY status
3-17 MsrRead1Track
This function returns MSR 1 Track data. If the MSR is in read mode and ERROR Code is
returned, the card has not yet been read by the MSR. Swipe the card again.
MSRReadCancel function can be used to cancel read mode.
long MsrRead1Track (PCHAR Track, UINT uiLength);
[Parameters]
* PCHAR Track
[in, out] MSR Track data read from the buffer defined by the caller.
* UINT uiLength
[in] Size of Track buffer to be sent to the printer
[Return Values]
If the function is successful, MSR 1 track data will be returned. If it has failed, the function
will return error code and NULL pointer.
Code
Value
Description
BXL_SUCCESS
0
Returns after function success
BXL_NOT_OPENED
101
Unable to open communication port
BXL_NOT_SUPPORT
107
If sentinel mode set 2, it isnt support
BXLMSR_DATAEMPTY
603
Not in READY status
3-18 MsrRead2Track
This function returns MSR 2 Track data. If the MSR is in read mode and ERROR Code is
returned, the card has not yet been read by the MSR. Strip the card with the MSR again.
MSRReadCancel function can be used to cancel read mode.
long MsrRead2Track (PCHAR Track, UINT uiLength);