beautypg.com

Device instance management, Device instance overview, Mcpcfg utility overview – MagTek MAGTEK User Manual

Page 39

background image

Section 3. Installation


33

DEVICE INSTANCE MANAGEMENT

Device Instance Overview

Before the MCP driver can communicate to a device, a device instance needs to be added. This
can be done as part of the driver installation routine. A device instance is a logical connection
between the MCP driver and an MCP device attached to a communication port on the computer.
Creating a device instance assigns a name to a device instance and establishes properties that are
used by the driver to communicate with a device.


MCPCFG Utility Overview

The MCPCFG Utility supports several installation-related commands, intended for use only by
the installation script. These commands are listed only in the command summary later in this
section, but are not described in detail. The utility is installed with the MCP driver. It is copied
by the installer into the Windows directory. MCPCFG is a command-line utility, which can be
used by an operator to enter commands at the Windows MS-DOS prompt, from a batch file, or
from an application. The utility has only limited error checking capabilities so it must be used
with care. For example, the entered baud rate parameter’s value is not checked for validity.

Note that changes made using MCPCFG do not take effect until the driver is restarted. On
Windows NT, the driver can be restarted without rebooting by using MCPCFG. On Windows 95
and 98, the system must be rebooted for the changes to take effect.