======================================================================
  Microsoft(R) Product Support Services Application Note (Text File)
                 FD0729: PRINTING QUESTIONS & ANSWERS
======================================================================
                                                   Revision Date: 1/93
                                                      No Disk Included

The following information applies to Microsoft FoxPro(R) for 
MS-DOS(R), version 2.5.

 --------------------------------------------------------------------
| INFORMATION PROVIDED IN THIS DOCUMENT AND ANY SOFTWARE THAT MAY    |
| ACCOMPANY THIS DOCUMENT (collectively referred to as an            |
| Application Note) IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY      |
| KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO    |
| THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A     |
| PARTICULAR PURPOSE. The user assumes the entire risk as to the     |
| accuracy and the use of this Application Note. This Application    |
| Note may be copied and distributed subject to the following        |
| conditions: 1) All text must be copied without modification and    |
| all pages must be included; 2) If software is included, all files  |
| on the disk(s) must be copied without modification [the MS-DOS     |
| utility DISKCOPY is appropriate for this purpose]; 3) All          |
| components of this Application Note must be distributed together;  |
| and 4) This Application Note may not be distributed for profit.    |
|                                                                    |
| Copyright 1993 Microsoft Corporation. All Rights Reserved.         |
| Microsoft, MS-DOS, and FoxPro are registered trademarks and        |
| Windows is a trademark of Microsoft Corporation.                   |
| Novell(R) is a registered trademark of Novell, Inc.                |
 --------------------------------------------------------------------

1.  Q. When I try to print boxes, ASCII characters are printed instead
       of boxes. How can I correct this problem?

    A. In the Printer Setup dialog box, specify a printer setup
       appropriate for your printer. If you are already using a
       printer driver, modify the P_CODES database in order to send
       the codes appropriate to your printer, and rebuild the
       GENPD.APP file. If you are not using a printer driver, send the
       proper escape codes to the printer before you print using the
       "???" command.

2.  Q. I am using the Relational Query By Example (RQBE) system to
       send data to a report. The data in the report is incorrect; the
       report prints the same record over and over. How can I correct
       this problem?

    A. When you created the report, you used alias names in your field
       definitions. To correctly display the data in your report,
       simply modify the report by removing the alias names. For
       example, a field containing CUSTOMER.NAME should be modified to
       contain only NAME.

3.  Q. Why can't I select the Printer Driver check box in the Printer
       Setup dialog box?

    A. This problem occurs if any of the following is true:
    
        - You are missing the GENPD.APP file.
       
        - The _GENPD memory variable is set incorrectly.
       
        - The resource file is turned off.
       
        - The FOXUSER file is missing, damaged, or marked as read-
          only.

4.  Q. I am using a Novell network. I can print by using the Novell
       CAPTURE command, but the SET PRINTER TO \\SPOOLER command
       doesn't work. How can I correct this problem?

    A. If you receive the error message "Printer not ready," make sure
       there are no spaces after the \\SPOOLER section of this
       command. If the printer information does not print until you
       quit FoxPro, you must issue the SET PRINT TO command in order
       to release the print spooler.

5.  Q. I can't make the printer drivers work in an executable file.
       How can I correct this problem?

    A. Open the project to make sure that the GENPD.APP file is
       included in the project as an application. If it is not
       included, add the GENPD.APP file to the project as an
       application.

        NOTE: The GENPD.APP file is automatically marked as an
        excluded project element.

       Rebuild the project and your executable file. Make sure that
       you distribute the GENPD.APP, FOXUSER.DBF, FOXUSER.FPT, and
       FOXSWAP.COM files with your executable file. If you are
       distributing an Extended Version, also include PROAPI16.EXE in
       the project.
