EasyManuals Logo

BIXOLON SPP-R200 Reference Guide

BIXOLON SPP-R200
39 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #21 background imageLoading...
Page #21 background image
Mobile Printer
Rev. 1.10
- 21 -
3-12 MsrReadTrack
This function recalls MSR data. If the MSR is in read mode and BXL_MSR_DATAEMPTY
is returned, the card has not yet been read in the MSR. Scanning the card in the MSR
again can be tried, or the MSRReadCancel function can be used to cancel read mode.
Long MsrReadTrack (
PCHAR Data1,
PCHAR Data2,
PCHAR Data3
);
[Parameters]
* PCHAR Data1
[in, out] MSR Data Track 1 read from the buffer defined by the caller.
* PCHAR Data2
[in, out] MSR Data Track 2 read from the buffer defined by the caller.
* PCHAR Data3
[in, out] MSR Data Track 3 read from the buffer defined by the caller.
[Return Values]
Code
Value
Description
BXL_SUCCESS
0
Returns after function success
BXL_NOT_OPENED
-101
Unable to open communication port
BXL_WRITE_ERROR
-300
Failure to transmit data
BXL_MSR_DATAEMPTY
-603
Not in READY status
* Example
long lResult;
lResult = PrinterOpen(portinfo…”, 1000);
……
MsrReadReady();
if (GetStat() != BXL_STS_MSR_READY)
return;
char Track1[200];
char Track2[200];
char Track3[200];
memset(Track1, 0, sizeof(Track1));
memset(Track2, 0, sizeof(Track2));
memset(Track3, 0, sizeof(Track3));
lResult = MsrReadTrack(Track1, Track2, Track3);
if (lResult != BXL_SUCCESS)
……
else
……
……

Other manuals for BIXOLON SPP-R200

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the BIXOLON SPP-R200 and is the answer not in the manual?

BIXOLON SPP-R200 Specifications

General IconGeneral
BrandBIXOLON
ModelSPP-R200
CategoryPrinter
LanguageEnglish

Related product manuals