EasyManua.ls Logo

BIXOLON SPP-R210 - Msrreadfulltrack

BIXOLON SPP-R210
38 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Mobile Printer
Rev. 1.00
- 22 -
3-13 MSRReadFullTrack
This function returns the entire MSR data. It returns error if it is not in the MSR Read Mode
or no data is found. Use MSRReadCancel to deactivate the Read Mode.
Int32 MSRReadFullTrack (ref byte[] msrData, Int32 dataLen);
[Parameters]
* ref byte[] msrData
[in, out] Retrieves MSR Track Data to the buffer defined by the caller.
* Int32 dataLen
[in] Sends the size of the buffer defined by the caller.
[Return Values]
If the function is called successfully, the entire MSR data is returned. If no MSR data is
found, BXL_MSR_DATAEMPTY is returned instead. Each track data is classified as
0x1c.
(Format: [track1 data]0x1c[track2 data]0x1c[track3 data]0x1c)
Code
Value
Description
BXL_SUCCESS
0
Returns when the function succeeds.
BXL_MSR_DATAEMPTY
-603
No data has been read by MSR.
*Example
BxlWinPhoneSDK bxlPrinter = new BxlWinPhoneSDK();
……
Task<Int32> task = bxlPrinter.MSRReadReadyAsync();
await task;
if (BXL_SUCCESS != task.Result)
return;
byte[] track = new byte[600];
Int32 ret = bxlPirnter.MSRReadFullTrack(track, track.length);
if (BXL_MSR_DATAEMPTY == ret)
……
else
……
……

Other manuals for BIXOLON SPP-R210

Related product manuals