Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/103830

From BetaArchive Wiki

PRB: Unable to Generate Printer Driver

ID: Q103830

2.00 2.5x 2.60 2.60a | 2.5x 2.60 2.60a

MS-DOS               | WINDOWS

kbprint kbprb 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


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


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.


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


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.


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 kbprb KBSubcategory: FxprintDriver

Keywords          : kberrmsg FxprintDriver 
Version           : 2.00 2.5x 2.60 2.60a | 2.5x 2.60
Platform          : MS-DOS WINDOWS

Last Reviewed: May 22, 1998
© 1999 Microsoft Corporation. All rights reserved. Terms of Use.