Automating mtd driver installation, Pre-selecting the device(s), Reboot – MagTek 99875125 User Manual

Page 86: Installing opos

Advertising
background image

MagTek Device Drivers for Windows


78

AUTOMATING MTD DRIVER INSTALLATION

In order to automate MTD driver installation, pre-select the Magtek device(s) in the text file
MTDINST.INI. This file is provided on the installation CD. If no devices are selected in this
MTDINST.INI file then installation runs in normal mode. This is the default setting from the factory.

Pre-selecting The Device(s):

There is a section “INSTALL” in the mtdinst.ini file. This section lists all the devices. One or more
devices can be installed simultaneously. To install a device, set desired device to 1 under the “INSTALL”
section. By default all the devices are de-selected so the all the devices are set to 0. MTDINST.INI
sample in on page 86.

There is a section named after each device in this file. This section contains the device settings for that
device. For each selected device under the “INSTALL” section, the device settings must be modified.
Only one section per device name is allowed. For a RS-232 device, change the PortName, UsePort, Baud,
datasize, stopbits, and parity. For a WEDGE and a USB device, change the PortName and UsePort.

PortName is the virtual COM port. Each device selected will need a separate virtual COM port. This
COM port must not by used by any other application. The MTD drivers will assign this COM port to the
device.

UsePort is the physical COM port where the RS-232 device is attached. For a wedge device you must set
this value to “KB:”. For a USB device you must set this value to “USB:”

baud is the baud rate of the RS-232 device. This value is not used by Wedge and USB device.

datasize is the data bits of the RS-232 device. This value is not used by Wedge and USB device.

stopbits is the stop bits of the device. This value is not used by Wedge and USB device.

parity is the parity of the RS-232 device. This value is not used by Wedge and USB device.


Reboot:

The system must be rebooted after the MTD driver installation. Set “ForceReboot” under the “INSTALL”
section to 1 to reboot the system automatically. Set “ForceReboot” under the “INSTALL” section to 0 to
disable the reboot process. If you decide to disable the reboot then you must reboot the system before
using the MTD drivers.

Installing OPOS:

To install OPOS, change the OPOS value to 1 under the “INSTALL” section. By default it is set to 0.

Advertising