ZQ110
Rev. 1.00
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.
Returns after function success
Unable to open communication port
If sentinel mode set 2, it isn’t support
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.
Returns after function success
Unable to open communication port
If sentinel mode set 2, it isn’t support
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);