3 - MTPPSCRAPCL Functions
IPAD, DynaPro, DynaPro Go, and DynaPro Mini| PIN Encryption Devices | Programmer’s Reference (Microsoft Windows Store)
Page 22
Parameter
Description
dataTypeID
Data type ID for this data. The device will use this type to process data
with the next command.
data
Pointer to the data
opStatus
An integer pointer to receive the command response or operation status.
Zero value means OK. For more values, see
Return Value:
Returns a value (0: Success, Non-Zero: Error)
3.26
sendBitmap
This function wraps device command
0x0C
. It directs the device to save new bitmap image data in the
specified memory slot. The device can hold up to four bitmaps. Recommend bitmap size for
monochrome image is 128x64 (1024 bytes), and Recommend bitmap size for color image is 320x240.
If the
flag
parameter is
0
(“clear”), the current image will be cleared from the specified slot. Otherwise,
if the command is successful, the new bitmap image data will be stored in the specified slot with the
selected format, and will display (b/w or inverted) when the
function is invoked.
int sendBitmap(
int slot,
int option,
byte [] bitmapData
ref int opStatus);
Parameter
Description
slot
Device bitmap slot, 1 - 4.
option
Options flag:
0 = Clear
1 = Save
2 = Invert and Save
data
Array of bytes containing the bitmap block data to send to the device. The
bitmap block data is raw bitmap exclude bitmap header information.
opStatus
An integer array to receive the command response or operation status.
Zero value means OK. For more values, see
Return Value:
Returns a value (0: Success, Non-Zero: Error)
3.27
getIPADInfoData
This function returns information about the device in an
IPADDevInfo
class, defined below.
MagTekPPUSCRAEvent.IPADDevInfo getIPADInfoData();
Return Value:
MagTekPPUSCRAEvent.IPADDevInfo
, structured as follows: