EasyManuals Logo

BIXOLON SPP-R200 Reference Guide

BIXOLON SPP-R200
39 pages
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #39 background imageLoading...
Page #39 background image
Mobile Printer
Rev. 1.10
- 39 -
4. Message
If some events have occurred in printer, the SDK will send WM_MSR_ARRIVED
(WM_USER+3) message.
4-1 BXL_LPARAM _MSR
This message will be posted when the printer reads MSR Track data from MSR sensor.
lParam
lParam is set by the following data.
Value
Description
BXL_MSG_TRACK1
0x01
BXL_MSG_TRACK2
0x02
BXL_MSG_TRACK3
0x04
Example) BXL_MSG_TRACK1 + BXL_MSG_TRACK2 = 0x03
wParam = 10
* Example
long lResult;
lResult = PrinterOpen(portinfo…”, 1000);
……
SetMsrMsgMode(TRUE);
……
MSG message;
int i = 0;
memset(&message, 0, sizeof(message));
for (i = 0; i < 10; i++)
{
if (PeekMessage(&message, NULL, WM_MSR_ARRIVED, WM_MSR_ARRIVED,
PM_REMOVE))
{
if (message.lParam & BXL_MSG_TRACK1)
// read track1 data
if (message.lParam & BXL_MSG_TRACK2)
// read track2 data
if (message.lParam & BXL_MSG_TRACK3)
// read track3 data
}
}

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