Sign in Join
FPDoc Onlineexperiment

Printers unit

Defines printer output devices for Lazarus applications.

Printers.pas implements basic facilities needed for the TPrinter print device. A TPrinterCanvas class is included to position, format, and render pages for the print device.

Printers.pas is a required unit for use with the printer4lazarus package. See the Lazarus Wiki for more information about the printer4lazarus package:

Printing
https://wiki.lazarus.freepascal.org/Printing
Using the Printer
https://wiki.lazarus.freepascal.org/Using_the_printer

Classes and records

EPrinterclassException raised for errors in TPrinter methods.
TCustomPaperItemrecordContains a custom paper size defined in TPaperSize.
TFilePrinterCanvasclassDefines a printer canvas with an associated file for its output.
TPaperItemrecordRepresents a paper size definition used for print devices.
TPaperRectrecordHolds the physical and working dimensions for a paper size.
TPaperSizeclassSize for a paper used on an attached printer device.
TPrinterclassTPrinter defines a printer object used in Lazarus applications.
TPrinterCanvasclassImplements a canvas used for TPrinter device output.

Types

TFilePrinterCanvasClasstypeClass reference used to create instances of the TFilePrinterCanvas class.
TPrinterCanvasReftypeReference to the TPrinterCanvas class.
TPrinterCapabilitiessetStores a set of capability values for a print device.
TPrinterCapabilityenumerationRepresents capabilities for print devices.
TPrinterFlagssetRepresents status flag values used for printer devices.
TPrinterOrientationenumerationRepresents page orientations for printers.
TPrinterStateenumerationRepresents state values for a print device.
TPrinterTypeenumerationRepresents connection types for a print device.

Variables

PrintervariableProvides access to the TPrinter instance for an application.

Topics

using_the_printertopicUsing the Printer

Uses

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.