ID: Q87680
The information in this article applies to:
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.
The printer is set up to print ASCII characters instead of their graphic representations.
The following are two methods for working around this problem:
-or-
WARNING: Modifications to the P_CODES database and to GENPD.APP are not supported.
1. From the File menu, choose Open.
2. For Type, select Project, and then select the
GOODIES\PDRIVERS\GENPD.PJX project.
3. Scroll down to select the P_CODES database.
4. Choose Edit. The Browse window appears.
5. Use the TAB key to move to the P_SETUP field. Replace the contents
of the field with the following ("<-" introduces an escape code)
<-E<-(10U
where "(10U" is a left parenthesis, the number ten, and a capital
"U".
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.
6. From the Project menu, choose Build. Then choose both Build
Application and Rebuild All.
7. Change the contents of the Directory field to point to your FoxPro
directory, and then choose Save.
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