Microsoft KB Archive/124777

From BetaArchive Wiki

FIX: Printing Report Writer Lines with HP Laserjet 4 Drivers

ID: Q124777



The information in this article applies to:

  • Microsoft FoxPro for Windows, versions 2.5, 2.5a, 2.5b, 2.6




SYMPTOMS

Printing a mixture of Hairline and 1 Point boxes or lines with the Report Writer does not work correctly with the HP LaserJet 4/4M V. 1.20 driver included with Windows for Workgroups version 3.11.

If Hairline and 1 Point objects are both used in the Report Detail band, objects in the first Detail band will print properly, but in subsequent Detail bands will print as all Hairline or all 1 Point objects, depending on which occurs first in the Detail band.


CAUSE

This is a function of which Pen type appears uppermost in the Detail band and applies to lines and boxes. The Pen type that is uppermost in the Detail band will predominate in subsequent printing of the Detail band.

Objects of Pen Point sizes of 2, 4, and 6 print correctly if mixed with objects that are Hairline or 1 Point in the Detail band.

Hairline or 1 Point objects in the headers affect which object predominates in the Detail band. If a 1 Point object appears in the Page Header, regardless of other objects in the Page Header, the Hairline and 1 Point objects will appear as 1 Point in all Detail bands after the first, which prints properly. If a Hairline object appears in the Header without a 1 Point object, the Hairline and 1 Point objects print correctly in the first Detail band, but will be all Hairline in subsequent Detail bands.


RESOLUTION

  • Upgrade the HP LaserJet 4 driver to version 1.35 or later.


-or-

  • Upgrade to FoxPro version 2.6a for Windows.


STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in FoxPro version 2.60a for Windows.


MORE INFORMATION

Steps to Reproduce Problem

  1. Create a Quick Report from SALESMAN.DBF in the TUTORIAL subdirectory.
  2. Drag the lower Detail band separator bar downward to create an additional line in the Detail band.
  3. Move a field to the second line of the Detail band.
  4. Place a box around the fields in the first line of the Detail band, and set the Pen (under the Object menu) to 1 Point.
  5. Place a box around the field in the second line of the Detail band, and set the Pen to Hairline.
  6. Send the REPORT FORM to the printer.
  7. Look at the lower box in the Detail band in the printed output. It will appear as Hairline only in the first printing of the Detail band. All other Detail bands will contain both boxes as 1 Point.

Additional query words: FoxWin 2.50 buglist2.50 buglist2.50a buglist2.50b buglist2.60 fixlist2.60a

Keywords          : 
Version           : 
Platform          : 
Issue type        : 

Last Reviewed: August 24, 1999
© 1999 Microsoft Corporation. All rights reserved. Terms of Use.