Zebra Technologies ZQ110 Printer User Manual


 
ZQ110
Rev. 1.00
- 21 -
Mobile Printer
Windows SDK API Reference Guide
[Return Values]
If the function is successful, MSR Track2 data will be returned. If it has failed, the function
will return NULL pointer.
3-15 GetTrack3
This function returns MSR Track3 data. If the MSR is in read mode and NULL 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.
TCHAR * GetTrack3 ();
[Parameters]
* None
[Return Values]
If the function is successful, MSR Track2 data will be returned. If it has failed, the function
will return NULL pointer.
3-16 MsrReadFullTrack
This function returns MSR Full 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 MsrReadFullTrack (PCHAR Track, UINT uiLength);
[Parameters]
* PCHAR Track
[in, out] MSR Track data read from the buffer defined by the caller.
If Printer sentinel mode is 0 or 1(None, Static), each Track, Track Data format set as below.
1,2,3 Track Format : [TRACK1 DATA] 0x1C [TRACK2 DATA] 0x1C [TRACK3 DATA]
1,3 Track Format : [TRACK1 DATA] 0x1C 0x1C [TRACK3 DATA]
If Printer sentinel mode is 2(Dynamic), Track Data format set as below.
1,2,3 Track Format : [TRACK1 DATA] [TRACK2 DATA] [TRACK3 DATA]
* UINT uiLength
[in] Size of Track buffer to be sent to the printer