PRB: Unable to Print a Box from Microsoft FoxPro

ID: Q87680

The information in this article applies to:

SYMPTOMS

When you attempt to print a box from FoxPro for MS-DOS, other ASCII graphics characters appear where the lines of the box should be.

CAUSE

The printer is set up to print ASCII characters instead of their graphic representations.

RESOLUTION

The following are two methods for working around this problem:

To specify the escape code for step 5 in the Command window, enter the following command:

   REPLACE P_SETUP WITH CHR(27)+"E"+CHR(27)+"(10U"

NOTE: This escape code does not work with dot-matrix printers; if you are using a dot-matrix printer, refer to the printer manual for the correct escape code to use.

Additional reference words: FoxDos 2.00 2.50 2.50a 2.x laser KBCategory: kbprg kbprb KBSubcategory:

Last Reviewed: April 17, 1995