ReadMe.txt for Windows NT 3.51 Printer Driver
--------------------------------------------

There are three methods of installing the Windows NT 3.51 Printer  Driver.

I. The preferred method is to use the FaxInstall.exe utility in the   printers directory.  This will correctly install the printer driver on   all 32 bit platforms. Refer to the ReadMe.txt file in the Printers   directory for instructions on how to use this command line utility.

II. Another method is to Manually install the printer driver.  We provide the Oemsetup.inf file to install the driver through the control panel.

III. The final method would be to programmatically install the printer  driver.  See below for further instructions.  Note that the source for  FaxInstall is included and could be incorporated into your own setup  program.

Also if you are looking at other ways of interfacing with the driver we now support writing your own callback functions in your own DLL.  Which may be desirable.

Programmatically Installing the Driver and Monitor
--------------------------------------------------

We have included a small console application called faxinstall.exe that takes the name of the Driver, Port Name, Application Path and the path of the driver files and copies and installs the driver. We have also included the C source code and Visual C++ 5.0 project in a zip file called instsrc.zip.  This application can easily be called from an installer and elminates the need to call the Win 32 API calls to install the Monitor, Port and driver. 

The syntax is:

faxinstall <PortName> <ApplicationPath> <DriverName> <Files Path>

<PortName> is the name of the port to be installed, this should match the Application ID you use in your app.

<ApplicationPath> is the path and name of the exe of your application that uses FaxMan.

<DriverName> is the name you wish to call the Driver ie 'Bobs Fax Driver' or whatever you want. Be sure to enclose the string in quotes if it has spaces.

<Files Path> specifies the path of the printer driver files for example a:\

If you still wish to have complete control over the install process you'll need to install the files as follows.

The FaxMan NT printer driver consist of two parts, the Monitor, which provides the Port to which the output is printed and the Printer Driver that is responsible for generating the fax image data.

Installing the Printer Driver programmatically requires three steps:

1. The Port Name and Application Exe path must be added to the systems registry. Multiple Ports may be added if needed for multiple applications.

2. The Monitor must be installed using the AddMonitor Win32 API call.

3. The Printer Driver must be installed using the AddPrinter Win32 API call.

Updating The Registry

The Names of the FaxMan driver ports are keys located under the key HKEY_LOCAL_MACHINE\Software\FaxManPorts. Each entry under this key will be considered a FaxMan port. The Application path is stored in the value of the key HKEY_LOCAL_MACHINE\Software\FaxManPorts\<AppID>\Application where <AppID> is the port name.


Contacting Us
-------------

Please email support questions to support@data-tech.com. Please be sure to include as much detail as 
possible so we can answer your question promptly.


