beautypg.com

Using the mtcfg utility (wnt/2000/xp), Command syntax summary, Displaying configuration information (wnt/2000/xp) – MagTek 99875125 User Manual

Page 104: Define, Comm_timeout 5000

background image

MagTek Device Drivers for Windows


96

Using the MTCFG Utility (WNT/2000/XP)

While the Configurator program will usually be adequate to make changes to the MTD device installation,
you may need to have more control in certain situations. For instance, you may need to investigate a
problem with the installation of a particular device driver. The MTCFG utility offers more capability in
dealing with the MTD drivers; however, it should only be used if the Configurator cannot be used for a
particular case.

MTCFG.EXE is a command-line utility installed with the MTD drivers. You will need to open a
CMD/DOS window to run it. It requires that the driver binaries be correctly installed, as described in the
previous sections. MTCFG cannot be used to install the driver binaries; running it from the installation
media before the driver has been installed will result in the following error message:

MagTek driver is not correctly installed. Please install the driver
before using this program.

The same message will be displayed if the installation has been modified manually, e.g., the installation
script has been renamed or removed or the driver’s Registry data has been removed.

It is recommended that all applications that may have opened a MagTek device be terminated before using
MTCFG to change a device’s configuration, or to add or remove a device.

Command Syntax Summary

Command Syntax

Meaning

mtcfg

list installed MagTek device drivers

mtcfg -?

display a help page

mtcfg -help

display a help page

mtcfg -models

list available MagTek device models

mtcfg

port-name

list settings for a given device

mtcfg

port-name –all

⏐more

verbose list of settings

mtcfg

port-name model [settings]

* add and configure a new device

mtcfg

port-name –delete

* delete a device

mtcfg

port-name settings

* change settings for a device

* these commands require Administrator privilege. MTCFG will display an error message if the
current user is not an Administrator.


Displaying Configuration Information (WNT/2000/XP)

To display the list of configured MagTek devices, use the following syntax:

mtcfg

To display the settings for a single device, use:

mtcfg

COMx

COMx is the name (virtual port) of the device, as set when the device was first configured. This
name is shown in the leftmost column in the list of devices. This command displays only the
common settings for the device

−the ones that are most likely to require modification. To display

all device settings, including all data parsing format strings, use the following syntax: