Elo TouchSystems 1525L manual Modifying a Device Drivers Settings WNT/2000/XP, Name

Models: 1525L

1 181
Download 181 pages 49.02 Kb
Page 161
Image 161
Modifying a Device Driver's Settings (WNT/2000/XP)

MagTek Device Drivers for Windows

Modifying a Device Driver's Settings (WNT/2000/XP)

Use the following syntax to change settings of a device:

mtcfg <port-name> <setting1> [<setting2> [<setting3>...]]

each of the settings is specified as name=value

if value contains spaces, the whole name=value string should be enclosed in quotes (not just the value), e.g., to specify the string “MT-85 on COM1” as the friendly name for COM5 with a baud rate of 9600 bps, use the following syntax:

mtcfg COM5 ”FriendlyName=MT-85 on COM1” baud=9600

Following is a list of common settings that can be changed for a device. Most settings have a default value and may be missing when the list of settings is requested for a device (e.g., by typing “MTCFG COM5”).

Name

Use

baud

(optional, used for serial devices only) device’s baud rate, specified as

 

an integer (e.g., 9600)

parity

(optional, used for serial devices only) an integer specifying the parity

 

used by the device: use -1, 0, 1, 2, or 3 for None, Even, Odd, Space

 

and Mark parity respectively.

datasize

(optional, used for serial devices only) specifies the device’s serial

 

word size in bits: 7 or 8.

stopbits

(optional, used for serial devices only) stop bits to use on

 

transmission: 1 or 2.

UsePort

the serial port to which the device is connected. Must specify a valid

 

standard serial port (or a port that is 100% compatible with a standard

 

serial port).

FriendlyName

(optional) alternative name for the device. If specified, the device may

 

be opened from user mode using this name (the prefix \\.\ must be

 

added to the name. For example if FriendlyName=Port-powered swipe

 

reader, this device can be opened as “\\.\Port-powered swipe reader”)

EnableFDP

(optional) Enable Flexible Data Parsing. Set this to 1 to enable data

 

parsing and to 0 to disable data parsing.

PortName

Specifies the port name under which the device is visible to user-mode

 

applications. Modifying this setting also changes the name used to

 

refer to this device when using the MTCFG utility, e.g., if

 

mtcfg COM5 PortName=COM8

 

is executed, the device that was COM5, must be referred to as COM8

 

in any subsequent invocations of MTCFG. This setting is treated

 

specially by MTCFG−it will validate the port name and make sure that

 

it is not used by other MagTek devices before making the change.

Device settings other than the ones listed above should not be modified without carefully reviewing the driver’s engineering documentation for the specific device model.

158

Page 161
Image 161
Elo TouchSystems 1525L manual Modifying a Device Drivers Settings WNT/2000/XP, Name