BUG: Single Color Labels Print Correctly on First Page Only

Last reviewed: March 19, 1998
Article ID: Q181223
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, versions 3.0, 3.0b, 5.0, 5.0a

SYMPTOMS

When you print a label form formatted with all the objects on the form as one color, such as red, the label prints correctly on the first page of a multi-page print job. However, the second and subsequent pages print in black.

This problem occurs with the following:

   Product                                      Version number
   -----------------------------------------------------------

   Windows 95                                   4.00.950

   Windows 95 with the Service Pack 1 Update,
   or the OEM Service Release 1.                4.00.950A


This problem does not appear when using Windows NT.

RESOLUTION

Choose a single Report Controls label or field to be a different color font than the rest of the objects on the form. Designing the label form with more than one color will then preserve the chosen font color for printing page two and subsequent pages of the labels. For example, place a period (.) in a text box at the top right of the label in an "Arial" font, font size 4, color not the same. This allows the label to print correctly and the period will not show on the label.

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Use the Customer.dbf table in the Visual FoxPro for Windows SAMPLES\DATA folder. The Customer table contains 91 records and this ensures that more than one page is needed to print all the labels. The following command opens the table:

          USE HOME()+"Tutorial\Customer"
    

  2. Create a new label form using the Avery 5160 layout.

  3. In the Label Designer, on the Edit menu, click Select All.

  4. On the Format menu, select Font.

  5. Select a font color other than black for all the objects.

    NOTE: It is important that all objects on the label form specify the same font color in order to reproduce the problem.

  6. Using any color inkjet printer, print the labels.

Notice that page one prints in the chosen color but page two and subsequent pages print in black.

REFERENCES

Visual FoxPro 5.0 Online Documentation: User's Guide; Part 3: Displaying Information; Chapter 7: Designing Reports and Labels.

Visual FoxPro 3.0 User's Guide; Part 4: Displaying Information; Chapter 9: Designing Reports and Labels.

(c) Microsoft Corporation 1998, All Rights Reserved. Contributions by Perry Newton, Microsoft Corporation


Additional query words: page 1 page 2 label
Keywords : FoxMac FoxWin FxprintFont FxprintGeneral VFoxMac vfoxwin
Version : WINDOWS:3.0,3.0b,5.0,5.0a
Platform : WINDOWS
Issue type : kbbug
Solution Type : kbpending


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: March 19, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.