WD2000: DMM: Error Initializing Printer Driver or Unable to Open Data Source

ID: Q246296


The information in this article applies to:
  • Microsoft Word 2000
  • Microsoft Direct Mail Manager for Windows


SYMPTOMS

When you attempt to perform a mail merge using Microsoft Direct Mail Manager, one of the following error messages may appear:

Word was unable to open the data source.
-or-
An error occurred when trying to initialize the printer prior to printing. Please check your printer settings and try again.
These problems may occur when you do either of the following from the Design Mailpiece dialog box in Microsoft Direct Mail Manager:
  • When you click Test and then click OK in the Printer settings for labels dialog box to test print the first record of your address list.

    -or-


  • When you click Next and then click OK in the Printer settings for labels dialog box.



CAUSE

When Direct Mail Manager is attempting to connect to Microsoft Word, the ODBC (Open Database Connectivity) text driver may be used to process the Mergedata.txt file that Direct Mail Manager created when it imported your address list. For more information about why this happens, see the "More Information" section of this article.


WORKAROUND

To work around this problem, use any of the following methods.

Method 1: Remove the ODBC Text Driver

This method allows Word to use its own text converter instead of the ODBC text driver to read the data file. Use the following steps to remove the ODBC text driver:
  1. Quit Microsoft Direct Mail Manager, Microsoft Word, and all Windows applications.


  2. On the Windows Start menu, point to Settings, and click Control Panel.


  3. Double-click ODBC Data Sources (32bit).


  4. On the User DSN tab, select Text Files - Microsoft Text Driver (*.txt, *.csv) and then click Remove.

    NOTE: When you are prompted with the following message: Are you sure you want to remove the Text Files data source, click Yes.


  5. Click OK.


  6. Restart Direct Mail Manager and complete your mail merge.


Method 2: Perform the Merge from Microsoft Word

You can perform the merge process manually from Microsoft Word and choose the type of data connectivity you want to use. That is, you can manually choose to connect to the data file using the text converter instead of the ODBC text driver and bypass some of the limitations of the ODBC text driver. To do this, follow these steps:
  1. Click OK to close the error message listed in the "Symptoms" section of this article.


  2. In Word, click Mail Merge on the Tools menu.


  3. Attach to the Mergedata.txt file that Microsoft Direct Mail Manager created as your data source using the text converter.


    1. In the Mail Merge Helper, click Get Data and then click Open Data Source.


    2. Navigate to the Microsoft Direct Mail Manager folder. By default, Microsoft Direct Mail Manager is located in the following folder:


    3. C:\Program Files\Microsoft Office\Office\SBT\DMM
    4. In the Files of type list, select Text Files (*.txt).


    5. Select the Select Method check box.


    6. Select the Mergedata.txt file and click Open.


    7. In the Confirm Data Source dialog box, click Text Files (*.txt) and click OK.


  4. Continue with the merge, adding merge fields as needed. Perform the merge by either merging directly to the printer or merging to a new document, and then printing the new document.


Method 3: Submit the Mailing to a Mailing Service

Rather than printing the mailing yourself, you can submit the mailing to a mailing service. To do this, follow these steps:
  1. Step 3 of the Microsoft Direct Mail Manager Wizard gives you the following options:


    • Quick and Simple - First Class Mail
    • Standard Mail
    • Easy - Use a Mailing Service
    • Do not print the mailing now

  2. Choose the third option, "Easy - Use a Mailing Service", and have a mailing service perform the task for you.



STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.


MORE INFORMATION

Microsoft Direct Mail Manager prints the mailing by connecting to Microsoft Word using OLE Automation and handing the task off to Microsoft Word for processing and printing. Microsoft Word then connects to the data source text file generated by Microsoft Direct Mail Manager and processes the request.

When using a text file as a data source, Microsoft Word can either connect through an ODBC text driver or a text converter. For performance reasons, Microsoft Word always attempts to use the ODBC text driver to connect to the data source, if the ODBC text driver is installed. If the driver is not installed, Word uses the text converter.

The ODBC text driver that ships with Microsoft Office can process only certain types of information. If the text file contains tab-delimited text, comma and quote delimited text, or extended characters, you may receive one of the error messages listed in the "Symptoms" section of this article.

Additional query words: dmm

Keywords : kbdta kbdmm wd2000
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: December 10, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.