Microsoft KB Archive/99556

{|
 * width="100%"|

-

The information in this article applies to:


 * Microsoft FoxPro for Windows, version 2.5

-

SYMPTOMS
If the system memory variable _PADVANCE is set to FORMFEED and the EJECT command is issued within a program after a series of @ ... SAY commands, a blank page may be ejected after the print job.

RESOLUTION
To prevent this problem, set _PADVANCE to LINEFEEDS.

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

MORE INFORMATION
The following code causes a blank page to be ejected after the printed page:

  _PADVANCE = &quot;FORMFEED&quot; _PEJECT = &quot;NONE&quot; SET DEVICE TO PRINTER @ 3,10 SAY &quot;_PADVANCE = &quot; + _PADVANCE @ 4,10 SAY &quot;_PEJECT = &quot; + _PEJECT EJECT SET PRINTER TO To prevent the extra page from ejecting, set _PADVANCE to LINEFEEDS, or remove the EJECT command.

NOTE: In FoxPro versions 2.0 and 2.5 for MS-DOS, the above code does not cause an extra page to eject. Additional query words: FoxWin buglist2.50 2.50 fixlist2.50a advance

Keywords         : kbenv FxenvMemory Version          : 2.50 Platform         : WINDOWS Issue type       :
 * }