PRB: "Insufficient Stack..." or "Current Read Level Too High"

ID: Q96338

The information in this article applies to:

SYMPTOMS

An "Insufficient stack for printer driver setup" error message occurs in the Standard version of FoxPro for MS-DOS or a "Current read level too high" error message occurs in the Extended version.

CAUSE

There can be up to two additional READ levels after the command SET PDSETUP TO ' ' is issued. The first READ command is issued when you enter the Printer Driver Setup dialog box. The second READ command is issued when you enter the Printer dialog box. If RDLEVEL() is greater than or equal to 4 when you are proceeding into any one of the two dialog boxes, the "Insufficient stack for printer driver setup" error will occur in the Standard version. The Extended version will display the error "Current read level too high." The programs that check the READ levels are in GENPD.PRG and PD_SETUP.SPR in the VALID clause for the push buttons.

RESOLUTION

When you are using the Standard version, make sure the READ level is not greater than 2 when you issue the SET PDSETUP TO ' ' command. With the Extended version, make sure the READ level is not greater than 3 when you issue SET PDSETUP TO ' '.

STATUS

This behavior is by design.

Additional reference words: FoxDos 2.00 2.50 2.50a err msg errmsg KBCategory: kbprg kbprb kberrmsg KBSubcategory:

Last Reviewed: April 17, 1995