Changing _PPITCH Does Not Change Pitch of Characters

Last reviewed: March 12, 1997
Article ID: Q88283
2.00 2.50 2.50a      | 2.50 2.50a
MS-DOS               | WINDOWS
kbsetup kbprint kbdocerr

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 "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 kbdocerr
KBSubcategory: FxinteropDbase
Keywords : FxinteropDbase kbprint kbsetup
Version : 2.00 2.50 2.50a | 2.50 2.50
Platform : MS-DOS WINDOWS
Issue type : kbdocerr


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