Base class of printers.
TecCustomPrinter = class(TComponent);
ecPrint
Implements margins setting, page printing.
|
Topic |
Description |
|
The methods of the TecCustomPrinter class are listed here. | |
|
The properties of the TecCustomPrinter class are listed here. | |
|
The events of the TecCustomPrinter class are listed here. |
|
Method |
|
protected |
|
virtual |
|
abstract |
|
Property |
|
read only |
|
Event |
|
TecCustomPrinter Methods |
Description |
|
Is called after each print job has finished printing. | |
|
Is called before the print job has begun. | |
|
Recalculates pages for printing. | |
|
Creates and initializes a TecCustomPrinter instance. | |
|
Destroys an instance of TecCustomPrinter. | |
|
DoUpdatePages is a protected virtual abstract method which is called after recalculating number of printed pages. | |
|
Returns rectangle for document content, i.e. printable area without fields. | |
|
Returns margins in the printable area in device units. | |
|
Returns page count. | |
|
Returns class of the Print Setup dialog. | |
|
Calls for Page Setup dialog. | |
|
Prints all pages. | |
|
Prints specified field. | |
|
Prints page contents without footer and header. | |
|
Prints specified pages. | |
|
Prints single page to the Canvas. | |
|
Recalculates pages for printing. | |
|
Replaces fields in footers and headers with corresponding strings. | |
|
Calculates number of pages for printing |
|
TecCustomPrinter Properties |
Description |
|
Defines color mode of the printer. | |
|
Specifies number of copies to be printed. | |
|
Specifies a list of fields used in footers and headers. | |
|
| |
|
Specifies font of the footer text. | |
|
Specifies font of the header text. | |
|
Specifies text of the footer. | |
|
Specifies text of the header. | |
|
The distance from the bottom edge of the physical page to the bottom edge of the printed rectangle, in units, specified by Units property. | |
|
The distance from the left edge of the physical page to the left edge of the printed rectangle, in units, specified by Units property. | |
|
The distance from the right edge of the physical page to the right edge of the printed rectangle, in units, specified by Units property. | |
|
The distance from the top edge of the physical page to the top edge of the printed rectangle, in units, specified by Units property. | |
|
Determines whether the print job prints vertically or horizontally on a page. | |
|
Number of the current printed page. | |
|
Number of pages. | |
|
Printer parameters. If there are no printer available default set of parameters is used. | |
|
Determines the text that is listed in the Print Manager and on network header pages. | |
|
Specifies units used as measure for margins. |
|
Copyright (c) 2004-2011. All rights reserved.
|
|
What do you think about this topic? Send feedback!
|