Changing _PPITCH Does Not Change Pitch of Characters

ID: Q88283

2.00 2.50 2.50a      | 2.50 2.50a
MS-DOS               | WINDOWS
kbsetup kbprint

The information in this article applies to:

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 "Commands & Functions" 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 "Commands & Functions" 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

Last Reviewed: May 22, 1998