beautypg.com

Convert to string a property, Convert from char b property – MagTek MICRSafe99875466 User Manual

Page 42

background image

MICRSafe with 3-Track MSR

34

CONVERT TO STRING A PROPERTY

Property ID:

27 (0x1B)

Property Type:

String

Length:

0 – 7 bytes

Get Property:

Yes

Set Property:

Yes

Default Value:

The default value is no string with a length of zero.

Description:

The value is an ASCII string that represents the device’s Convert To String
A
property. This string can be 0 – 7 bytes long. This string is sent in place of
the character specified in the Convert From Char A property. See the
Convert From Char A property for more information and examples.

This property is stored in non-volatile memory, so it will persist when the unit
is power cycled. When this property is changed, the unit must be reset (see
Command Number 2) or power cycled for these changes to take effect.


Example Set Convert To String A property Request (Hex):

Cmd Num

Data Len

Prp ID

Prp Value

01

03

1B

0D 0D


Example Set Convert To String A property Response (Hex):

Result Code Data Len

Data

00

00


Example Get Convert To String A property Request (Hex):

Cmd Num

Data Len

Prp ID

00

01

1B

Example Get Convert To String A property Response (Hex):

Result Code Data Len

Prp Value

00

02

0D 0D


CONVERT FROM CHAR B PROPERTY

Property ID:

28 (0x1C)

Property Type:

Byte

Length:

1 byte

Get Property:

Yes

Set Property:

Yes

Default Value:

255 (0xFF) (None)

Description:

The value is a byte that represents the ASCII value of a character transmitted
by the device as keystroke data that is to be changed into a string of ASCII
values prior to being transmitted by the device as keystroke data. The string
of ASCII values that this value will be changed into is contained in the
Convert To String B property. If the value of this property is set to 0xFF, no
characters will be changed into the string. For example, if you would like a