Share via


Printer Members (Access)

A Printer object corresponds to a printer available on your system.

Properties

Name

Description

BottomMargin

Along with the TopMargin, RightMargin, and LeftMargin properties, specifies the margins for a printed page. Read/write Long.

ColorMode

Returns or sets an AcPrintColor constant representing whether the specified printer should print output in color or monochrome. Read/write.

ColumnSpacing

Returns or sets a Long representing the vertical space between detail sections in twips. Read/write.

Copies

Returns or sets a Long indicating the number of copies to be printed. Read/write.

DataOnly

True if Microsoft Access prints only the data from a table or query in Datasheet View and not the labels, control borders, gridlines, and display graphics. Read/write Boolean.

DefaultSize

True if the size of the detail section in Design View is used for printing; otherwise, the values of the ItemSizeHeight and ItemSizeWidth properties are used. Read/write Boolean.

DeviceName

Returns a String indicating name of the specified printer device. Read-only.

DriverName

Returns a String indicating the name of the driver used by the specified printer. Read-only.

Duplex

Returns or sets an AcPrintDuplex constant indicating how the specified printer handles duplex printing. Read/write.

ItemLayout

Returns or sets an AcPrintItemLayout constant indicating whether the printer lays columns across, then down, or down, then across. Read/write.

ItemsAcross

Returns or sets a Long indicating the number of columns to print across a page for multiple-column reports or labels. Read/write.

ItemSizeHeight

Returns or sets a Long indicating the height of the detail section of a form or report in twips. Read/write.

ItemSizeWidth

Returns or sets a Long indicating the height of the detail section of a form or report in twips. Read/write.

LeftMargin

Along with the TopMargin, RightMargin, and BottomMargin properties, specifies the margins for a printed page. Read/write Long.

Orientation

Gets or sets an AcPrintOrientation constant that represents the print orientation. Read/write.

PaperBin

Returns or sets an AcPrintPaperBin constant indicating which paper bin the specified printer should use. Read/write.

PaperSize

Returns or sets an AcPrintPaperSize constant indicating the paper size to use when printing. Read/write.

Port

Returns a String indicating the port name of the specified printer. Read-only.

PrintQuality

Returns or sets an AcPrintObjQuality constant indicating the resolution at which the specified printer should print jobs. Read/write.

RightMargin

Along with the TopMargin, LeftMargin, and BottomMargin properties, specifies the margins for a printed page. Read/write Long.

RowSpacing

Returns or sets a Long indicating the horizontal space between detail sections in twips. Read/write.

TopMargin

Along with the LeftMargin, RightMargin, and BottomMargin properties, specifies the margins for a printed page. Read/write Long.