PRB: Unable to Generate Printer Driver

Last reviewed: April 29, 1996
Article ID: Q103830
The information in this article applies to:
  • Microsoft FoxPro for MS-DOS, versions 2.0, 2.5x, 2.6, 2.6a
  • Microsoft FoxPro for Windows, versions 2.5x, 2.6, 2.6a

SYMPTOMS

You receive this error: "Unable to generate printer driver."

CAUSE

This error most often occurs because GENPD.APP cannot be located or is not installed. Other reasons for this error are low memory or an invalid or inactive FOXUSER.DBF file.

RESOLUTION

To correct this problem, set _GENPD= to the location of the GENPD.APP file (specify the full path to the file). For example:

   _GENPD="C:\FOXPRO2\GENPD.APP"

If that doesn't work, use the following troubleshooting steps:

  1. Check SYS(2005) and SET RESOURCE ON to validate that a FOXUSER.DBF file is being used and is available.

  2. Since printer drivers use conventional memory, check the amount of conventional memory available. If user-defined procedures are being used, at least 95K of conventional memory is required.

  3. Check the availability of FOXSWAP.COM. If you are using FoxPro version 2.0 for MS-DOS, also check for PROAPI16.EXE.

  4. If you are running the Extended (32-bit) version of FoxPro, make sure DOSMEM=ON is not in the CONFIG.FP file.

MORE INFORMATION

The files GENPD.APP and DRIVER2.PLB are required for printer driver setups. It is not enough to just have the files in the MS-DOS search path. The files MUST reside in the same directory as the executable file. If this requirement is not met, the application will fail with the "Unable to generate printer driver" error message.


Additional reference words: FoxDos FoxWin errmsg genpd2 err
msg tshoot
distribution DK EXE 2.50 2.50a 2.50b 2.60 2.60a
KBCategory: kbprint kberrmsg kbprb
KBSubcategory: FxprintDriver


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 29, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.