ID: Q113805
2.50 2.50a 2.50b 2.60 | 2.50 2.50a 2.50b 2.60
WINDOWS | MS-DOS
kbprg kbprb
The information in this article applies to:
Printer control codes sent directly to the printer prior to running a report created with the Report Writer are overwritten if a printer driver is in effect.
Although the triple question mark command (???) can be used to issue commands directly to a printer when you are hard-coding a report, the printer settings will have no effect when they are used in conjunction with a FoxPro report created with the Report Writer, which uses a printer driver. FoxPro for MS-DOS printer drivers and the Windows printer drivers issue their own commands to reset the printer before printing a report created with the Report Writer.
To work around this behavior, do one of the following:
- For FoxPro for MS-DOS, issue the following command before running the
report:
SET PDSETUP TO ""
- For FoxPro for Windows, select the Generic/Text Only driver, and make
sure that PDSETUP does not appear in the REPORT FORM command.
-or-
For information about how to modify the P_CODES database, please see the following article(s) in the Microsoft Knowledge Base:
ARTICLE-ID: Q89000
TITLE : How to Edit the FoxPro P_CODES Database
-or-
Keywords : FxtoolRwriter
Version : 2.50 2.50a 2.50b 2.60 | 2.50 2.5
Platform : MS-DOS WINDOWS
Last Reviewed: May 1, 1996