FastLaserPrinting Property

Microsoft Access Visual Basic

FastLaserPrinting Property

       

You can use the FastLaserPrinting property to specify whether lines and rectangles are replaced by text character lines — similar to the underscore (_) and vertical bar (|) characters — when you print a form or report using most laser printers. Replacing lines and rectangles with text character lines can make printing much faster. Read/write Boolean.

expression.FastLaserPrinting

expression   Required. An expression that returns one of the objects in the Applies To list.

Remarks

The FastLaserPrinting property uses the following settings.

Setting Visual Basic Description
Yes True (Default) Lines and rectangles are replaced by text character lines.
No False Lines and rectangles aren't replaced by text character lines.
You can set this property by using a form's or report's property sheet, a macro, or Visual Basic.

The FastLaserPrinting property affects any line or rectangle on a form or report, including controls that have these shapes (for example, a border around a text box).

Note   This property has no effect on PostScript printers, dot-matrix printers, or earlier versions of laser printers that don't support text character lines.

When this property is set to Yes and the form or report being printed has overlapping rectangles or lines, the rectangles or lines on top don't erase the rectangles or lines they overlap. If you require overlapping graphics on your report, set the FastLaserPrinting property to No.

Example

The following example shows how to set the FastLaserPrinting property for the Invoice report while in report Design view:

DoCmd.OpenReport "Invoice", acDesign
Reports!Invoice.FastLaserPrinting = True
DoCmd.Close acReport, "Invoice", acSaveYes