LayoutForPrint Property

Applies To

Form, Report.

Description

You can use the LayoutForPrint property to specify whether the form or report uses printer or screen fonts.

Setting

The LayoutForPrint property uses the following settings.

Setting

Description

Visual Basic

Yes

(Default for reports) Use printer fonts.

True (-1)

No

(Default for forms) Use screen fonts.

False (0)


The property can be set only in form Design view and report Design view.

Remarks

When you choose a font in Microsoft Access, you are choosing either a screen font or a printer font, depending on the setting of the LayoutForPrint property. Remember that printer fonts and screen fonts can differ, and characters on screen may not look exactly like those displayed on the printed page.

Tip If you select a scalable font, such as a TrueType® font, the screen and printer characters will look nearly the same.

Screen fonts are the images of letters, numbers, and symbols displayed on the screen. The screen fonts Microsoft Access uses are those that were installed when you installed Windows. If you installed a printer, additional screen fonts may have been installed automatically. You may also have added more screen fonts on your own.

Printer fonts are the letters, numbers, and symbols that are produced when you print a report or a form. The available fonts depend on your printer.

If you set the LayoutForPrint setting to Yes, the Formatting toolbar displays the fonts and point sizes available for your printer.

If you design a form or report on a system with a different printer than the one you will use to print, Microsoft Access displays a message to let you know that the form or report was designed for another kind of printer. If you print the form or report anyway, your printer may substitute different fonts. You can reselect the font for each control to specify the appearance of the form or report.

See Also

FontName, FontSize Properties.