FIX: Blank Lines Do Not Print After Line 32768

ID: Q98448

2.50    | 2.00 2.50 2.50a
WINDOWS | MS-DOS kbprint kbprg kbbuglist kbfixlist

The information in this article applies to:

SYMPTOMS

When you are printing blank lines between consecutive lines of text in either FoxPro for Windows or the 16-bit version of FoxPro for MS-DOS, the blank lines no longer print out after FoxPro reaches line 32768.

RESOLUTION

In FoxPro for MS-DOS, this problem occurs only in the 16-bit version, so use the 32-bit Extended version of FoxPro (FOXPROX.EXE), if possible, instead.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in FoxPro version 2.5a for Windows.

MORE INFORMATION

Steps to Reproduce Problem

1. Start FoxPro using FOXPRO.EXE, FOXPROL.EXE, or FOXPROW.EXE.

2. In the Command window, type:

      MODIFY COMMAND test.prg

3. In the open text box, enter the following code:

      SET TALK OFF
      SET DEVICE TO PRINT
      SET PRINTER TO FILE test.txt
      L= 1
      FOR i = 1 TO 33000
        IF L = 5
          @ i,0 SAY i
          L = 1
        ENDIF
        L = L+1
      ENDFOR
      SET PRINTER TO

4. Close the text box and type the following in the Command window:

      DO test.prg

5. When the program returns control to FoxPro, type the following
   command in the Command window:

      MODIFY COMMAND test.txt

6. In TEST.TXT, press CTRL+END.

7. At the end of the document, press the PAGE UP key until line

   32765 is visible.

All lines before 32768 have blank lines between them, while lines after 32768 do not have blank lines. Each line after 32768 also has a page eject character after it.

Additional reference words: FoxDos FoxWin 2.00 2.50 2.50a buglist2.00 buglist2.50 buglist2.50a fixlist2.50a KBCategory: kbprint kbprg kbbuglist kbfixlist KBSubcategory: FxprintGeneral Solution Type : kbfix

Last Reviewed: September 22, 1997