ReadMe.txt for Windows NT 4.0 / Windows 2000 Printer Driver
-----------------------------------------------------------

There are three methods of installing the Windows NT 4.0/Windows 2000 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.  See  below for instructions.

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 by passing the WM_FAX message and calling your DLL directly.  For more information look at the file Monitor.txt.


Manually Installing the Driver
------------------------------

1. Goto the Printers Folder and double click on the Add Printer option.

2. When the Add Printer Wizard dialog appears, select My Computer and  click on the Next button

3. This next dialog should display a list of the available ports on the  system. Select the Add Port button.

4. When the Printer Ports Dialog is displayed select the New Monitor  button.

5. Enter the path to the floppy disk or directory containing the FaxMan  Printer driver files and click OK.

6.  Select the Data Tech Fax Port option and click the New Port  button.

7. The Add a Fax Port dialog should be displayed. Enter the value for  the AppID in the Port Name text box, enter the path and name of the  applications exe in the App Exe Path text box. Click OK.

8. Click Close in the Printer Ports Dialog.

9. The Port you just added should be selected in the Available Ports  dialog. Click the Next button.

10. You will now be prompted for the type of printer. Select the Have  Disk button and enter the path of the floppy disk or directory  containing the FaxMan Printer driver files.

11. The Test Fax Driver option should be selected. Click the Next  button.

12. Enter the name you wish to use for the Printer and click Next.

13. Select Not Shared and click Next.

14. Select No when prompted as to whether a Test page should be  generated.

15. Click the Finish button.

16. The Printer Driver files will be copied from the diskette and you  may be prompted to enter the NT CD so the installer can copy some  printer driver support files.

17. The driver installation is now complete.

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/Windows 2000 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.

