Defines Printers to be used as output from Lazarus applications EPrinter - Exception handler for printer error TPrinterCanvas - instance of TCanvas specially designed for printers BeginDoc - method to start printing a document NewPage - method to start printing a new page EndDoc - method to finish printing a document Create - constructor to make a canvas for the specified printer type, APrinter Changing - method for dealing with changes in printing staus The type of Printer for which this canvas is preparing the document The Title of the current printer canvas The PageHeight to be used for the current canvas The PageWidth to be used for the current canvas PageNumber - the number of the current page being prepared for printing TopMarging - the size of the margin at the top of each page LeftMarging - the size of the margin at the left of each page TPrinterCanvasRef - class of TPrinterCanvas: referenced class TPaperRect - a record holding details of physical and working dimensions for paper TPaperSize - the size of the paper to be used for the current document with the current printer

TPaperSize - the size of paper to be used for the current document with the current printer

The width and length are in points; there are 72 points per inch.

PaperName - the name for the paper being used DefaultPaperName - the default name for this size of paper PaperRect - the rectangle dimensions for this paper SupportedPapers - the list of supported papers for this pape size PaperRectOf - the Paper Rect corresponding to the given name TPrinter - class defining printer to be used in Lazarus applications SelectCurrentPrinterOrDefault method for selecting either the current printer or the default GetCanvasRef - returns a reference to a printer canvas DoBeginDoc - method to begin printing the document DoNewPage - method for beginning a new page DoEndDoc - method for finishing printing document. aAborded is True if printing has been aborted (eg by operator) DoAbort - method for aborting the printing DoResetPrintersList - method for resetting the list of printers DoResetFontsList - method for resetting the list of fonts DoEnumPrinters - method for producing an enumerated list of printers DoEnumFonts - method for producing an enumerated list of fonts DoEnumPapers - method for producing an enumerated list of papers DoSetPrinter - returns integer corresponding to specified named printer DoGetCopies - returns the number of copies required DoSetCopies - specifieds the number of copies required DoGetOrientation - returns the required orientation for printing (landscape of portrait) DoSetOrientation - specifies the orientation for printing (landscape or portrait) DoGetDefaultPaperName - returns the default name for the paper DoGetPaperName - returns the name of the current paper DoSetPaperName - specifies the name of the paper DoGetPaperRect - returns the dimensions of the rectangle for the named paper DoGetPrinterState - retruns the printer state GetPrinterType - returns the printer type GetCanPrint - returns True if the printer is able to print Abort - terminate the current printing event (even if it hasn't finished) BeginDoc - start printing the currently selected document EndDoc - finish printing the current document NewPage - start printing on a new page Refresh the data for printing, eg after a change SetPrinter - specify use of the named printer PrinterIndex - the printer's index in the list of printers PaperSize - the size of paper to be used for the current document The Orientation - for printing the current document (landscape or portrait, normal or reversed) PrinterState - ready, printing, stopped or undefined Number of Copies of the current document Printers - the list of available printers for printing the current document the list of available Fonts for the current printer The Canvas to be used for laying out the current document ready for printing PageHeight - for printing the current document with the defined PaperSize The PageWidth for the current document with the defined PaperSize PageNumber - the number of the current page being printed Aborted - True if printing of the document has been prematurely terminated by operator command Printing - True if document is in process of being printed Title - name for this printer PrinterType - whether a local or network printer CanPrint - True if printing is enabled or not disabled CanRenderCopies - True if the printer device can render copies CanRenderCopies - True if the printer device can render copies, ie if TPrinterCapability includes pcCopies XDPI - number of dots per inch in X-direction YDPI - number of dots per inch in Y direction RawMode - true if printer operates in Raw Mode (as opposed to PostScript or some other page description language)

RawMode - true if printer operates in Raw Mode (as opposed to PostScript or some other page description language)

If Raw Mode is being used, text is sent directly to the printer device without formatting, and the Canvas is not used for setting up the pages

GetLeftMargin - returns the size of teh left margin GetTopMargin - returns the size of the top margin GetBottomMargin - returns the size of the bottom margin GetRightMargin - returns the size of the right margin The size of the TopMargin The size of the LeftMargin The size of the BottomMargin the size of the RightMargin DoInitialization - method for performing initialisation GetCanRenderCopies - returns True if the printer is able to render copies GetXDPI - returns the number of Dots Per Inch in the X plane GetYDPI - returns the number of Dots Per Inch in the Y plane CheckRawMode - check whether the printer operates in Raw mode (as opposed to PostScript etc) RawModeChanging - the raw mode is changing (eg PostScript is being invoked) PrinterSelected - method for dealing with a printer that has been selected Write to a specified Buffer: Count contains the number of bytes for writing, Written contains the number that have been written. Returns True if successful