Microsoft KB Archive/181223

{| = BUG: Single Color Labels Print Correctly on First Page Only =
 * width="100%"|

ID: Q181223

The information in this article applies to:


 * Microsoft Visual FoxPro for Windows, versions 2.6x, 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.

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.