Share via


Printer Object Members

Access Developer Reference

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

Properties

  Name Description
Bb257412.properties(en-us,office.12).gif BottomMargin Along with the TopMargin, RightMargin, and LeftMargin properties, specifies the margins for a printed page. Read/write Long.
Bb257412.properties(en-us,office.12).gif ColorMode Returns or sets an AcPrintColor constant representing whether the specified printer should print output in color or monochrome. Read/write.
Bb257412.properties(en-us,office.12).gif ColumnSpacing Returns or sets a Long representing the vertical space between detail sections in twips. Read/write.
Bb257412.properties(en-us,office.12).gif Copies Returns or sets a Long indicating the number of copies to be printed. Read/write.
Bb257412.properties(en-us,office.12).gif 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.
Bb257412.properties(en-us,office.12).gif 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.
Bb257412.properties(en-us,office.12).gif DeviceName Returns a String indicating name of the specified printer device. Read-only.
Bb257412.properties(en-us,office.12).gif DriverName Returns a String indicating the name of the driver used by the specified printer. Read-only.
Bb257412.properties(en-us,office.12).gif Duplex Returns or sets an AcPrintDuplex constant indicating how the specified printer handles duplex printing. Read/write.
Bb257412.properties(en-us,office.12).gif ItemLayout Returns or sets an AcPrintItemLayout constant indicating whether the printer lays columns across, then down, or down, then across. Read/write.
Bb257412.properties(en-us,office.12).gif ItemsAcross Returns or sets a Long indicating the number of columns to print across a page for multiple-column reports or labels. Read/write.
Bb257412.properties(en-us,office.12).gif ItemSizeHeight Returns or sets a Long indicating the height of the detail section of a form or report in twips. Read/write.
Bb257412.properties(en-us,office.12).gif ItemSizeWidth Returns or sets a Long indicating the height of the detail section of a form or report in twips. Read/write.
Bb257412.properties(en-us,office.12).gif LeftMargin Along with the TopMargin, RightMargin, and BottomMargin properties, specifies the margins for a printed page. Read/write Long.
Bb257412.properties(en-us,office.12).gif Orientation Gets or sets an AcPrintOrientation constant that represents the print orientation. Read/write.
Bb257412.properties(en-us,office.12).gif PaperBin Returns or sets an AcPrintPaperBin constant indicating which paper bin the specified printer should use. Read/write.
Bb257412.properties(en-us,office.12).gif PaperSize Returns or sets an AcPrintPaperSize constant indicating the paper size to use when printing. Read/write.
Bb257412.properties(en-us,office.12).gif Port Returns a String indicating the port name of the specified printer. Read-only.
Bb257412.properties(en-us,office.12).gif PrintQuality Returns or sets an AcPrintObjQuality constant indicating the resolution at which the specified printer should print jobs. Read/write.
Bb257412.properties(en-us,office.12).gif RightMargin Along with the TopMargin, LeftMargin, and BottomMargin properties, specifies the margins for a printed page. Read/write Long.
Bb257412.properties(en-us,office.12).gif RowSpacing Returns or sets a Long indicating the horizontal space between detail sections in twips. Read/write.
Bb257412.properties(en-us,office.12).gif TopMargin Along with the LeftMargin, RightMargin, and BottomMargin properties, specifies the margins for a printed page. Read/write Long.