FastTips for FoxPro for MS-DOS: Printing Q&A

Last reviewed: December 12, 1996
Article ID: Q96157
The information in this article applies to:
  • Microsoft FoxPro for MS-DOS, version 2.5

       Microsoft(R) Technical Support Application Note (Text File)
                 FP0917: PRINTING QUESTIONS & ANSWERS
                                                   Revision Date: 9/93
                                                      No Disk Included

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

| 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 (C) 1993 Microsoft Corporation.  All Rights Reserved      |
| Microsoft, FoxPro, and MS-DOS are registered trademarks and Windows |
| is a trademark of Microsoft Corporation.                            |
| Novell is a registered trademark of Novell, Inc.                    |
|---------------------------------------------------------------------|


  • 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.
    

  • 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.
    

  • 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.
    
    

  • Q. I am using a Novell(R) 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.
    

  • 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.
    


  • Additional reference words: FoxDos 2.50 ivrfax fasttips appnote q&a novel
    KBCategory: kbprint kbfasttip kbappnote
    KBSubcategory:


    THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

    Last reviewed: December 12, 1996
    © 1998 Microsoft Corporation. All rights reserved. Terms of Use.