FIX: Blank Lines Do Not Print After Line 32768

Last reviewed: September 22, 1997
Article ID: Q98448
2.50    | 2.00 2.50 2.50a
WINDOWS | MS-DOS kbprint kbprg kbbuglist kbfixlist

The information in this article applies to:

  • Microsoft FoxPro for Windows, version 2.5
  • Microsoft FoxPro for MS-DOS, versions 2.0, 2.5, 2.5a

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


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: September 22, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.