Microsoft KB Archive/88283

{| = Changing _PPITCH Does Not Change Pitch of Characters =
 * width="100%"|

ID: Q88283

2.00 2.50 2.50a     | 2.50 2.50a MS-DOS              | WINDOWS kbsetup kbprint The information in this article applies to:


 * Microsoft FoxPro for MS-DOS, versions 2.0, 2.5, and 2.5a
 * Microsoft FoxPro for Windows, versions 2.5 and 2.5a

SUMMARY
Changing the value of the _PPITCH variable does not have any effect on a printer driver. Page C4-38 of the FoxPro version 2.0 &quot;Commands & Functions&quot; manual and the online Help incorrectly state that changing the value of the _PPITCH variable sends an appropriate escape code sequence to the printer. Changing this value does not send a code to change the pitch of characters on the printer.

This documentation error occurs on Page C4-38 of the FoxPro version 2.0 &quot;Commands & Functions&quot; manual and in the online Help for FoxPro version 2.0 for MS-DOS. This documentation error was corrected in the FoxPro versions 2.5 and 2.6 documentation, which state correctly:

The GENPD.APP printer driver application provided with FoxPro for MS-DOS does not use _PPITCH. Any value stored to the _PPITCH system memory value has no effect on printed output. To change the printer pitch in Microsoft FoxPro, either use the Print Setup (Windows) or Printer Setup (MS-DOS) dialog box, or send the appropriate escape sequences directly to the printer with the ??? command.

MORE INFORMATION
The command _PPITCH was included only for dBASE IV compatibility so that code written in DBASE IV would not generate an error.

Additional reference words: FoxDos FoxWin 2.00 2.50 2.50a docerr KBCategory: kbsetup kbprint KBSubcategory: FxinteropDbase

Keywords         : kbprint kbsetup kbdocerr FxinteropDbase Version          : 2.00 2.50 2.50a | 2.50 2.50 Platform         : MS-DOS WINDOWS
 * }