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

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 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.