Microsoft KB Archive/164254

= ACC97: Cannot Print Black Lines on Report When Spool Set to Raw =

Article ID: 164254

Article Last Modified on 1/19/2007

-

APPLIES TO


 * Microsoft Access 97 Standard Edition

-



This article was previously published under Q164254





SYMPTOMS
When you try to print a black line on a report, the line is not printed. However, if you view the report in Print Preview, you see the line. If you change the line's BorderColor property to a color other than black (0), the line is printed.

This behavior also occurs with tables, queries, or forms in Datasheet view if you change the gridline color of the cells to black.



CAUSE
When the Spool Data Format setting for the printer you are using is set to RAW, black lines will not print on your report, and gridlines will not print on your table, query, or form in Datasheet view.



RESOLUTION
If you want to have black lines print on your report and gridlines print on your table, query, or form in Datasheet view, change the spool setting of the printer to EMF (Enhanced Metafile format). Otherwise, change the color for the lines or gridlines you are printing to another color.



STATUS
Microsoft has confirmed this to be a problem in Microsoft Access 97.



MORE INFORMATION
The Enhanced Metafile format (EMF) allows Windows 95 and later to use a full 32-bit GDI instruction set. When you print using the EMF spooling option, Windows creates an EMF that contains a complete set of instructions that re-create the image as printed output. When you change your Spool Data Format printer setting to EMF, Windows can better handle printing black lines.

Steps to Reproduce Problem
 Open Microsoft Access 97 and the sample database Northwind.mdb. Open the Invoice report in Design view. Click on the line just below the Logo. Change the BorderColor property of the line to 0 (black). Set the Spool data format setting for your HP Laserjet printer to RAW by doing the following:

<ol style="list-style-type: lower-alpha;"> On the Start menu, point to Settings, and then click Printers. Select your HP Laserjet printer.</li> In the Printers dialog box, using the right mouse button, click your printer, and then click Properties.</li> In the <Printer> Properties dialog box, click the Details tab, and then click Spool Settings.</li> In the Spool Settings box, in the Spool Data Format box, change the setting to RAW. Click OK. Click OK again to close the <Printer> Properties box.</li></ol> </li> Print the first page of the Invoice report. Note that the line does not appear on the report.</li></ol>

<div class="references_section">