The information in this article applies to:
- Microsoft FoxPro for MS-DOS, versions 2.0, 2.5x, 2.6, 2.6a
SUMMARY
To make changes to the printer driver information, you must edit the
P_CODES database, as described below.
MORE INFORMATION
To edit the P_CODES database:
- From the File menu, choose Open.
- Change Type to Project and select GOODIES\PDRIVERS\GENPD.PJX in
the Open box.
- If you are asked to create a new home directory, choose Yes.
- In the GENPD.PJX box, select the P_CODES database, and choose Edit.
The Browse window appears.
- Scroll down until the printer driver you want to change is
selected.
- Press CTRL+F2 to bring the Command window forward.
- Do one of the following:
a. In the Command window, type the following
REPLACE <field name> WITH <printer escape codes>
where <field name> is the field name you want to edit, and
<printer escape codes> (found in your printer manual) are the
control codes you want to send to the printer.
-or-
b. Remain in the Browse window, select a string from an existing
field, press CTRL+C, move the cursor to the new field, and press
CTRL+V.
- Press CTRL+F1 until the GENPD.PJX window is on top.
- From the Project menu, choose Build. Then, select both Build
Application and Rebuild All. Choose OK to have the changes take
affect.
- Save any changes to the project, if prompted to do so.
- Save the .APP file (GENPD.APP) in the same directory as FoxPro
version 2.0 or version 2.5 (the default directory is C:\FOXPRO2 or
C:\FOXPRO25).
|