EControl Syntax Editor SDK
TecSyntPrinter Class Members
Members
TecCustomPrinter Methods
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 
TecSyntPrinter Class
TecSyntPrinter Class 
Description 
Creates and initializes a TecSyntPrinter instance. 
Destroys an instance of TecSyntPrinter. 
Topics
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. 
TecSyntPrinter Class
Topic 
Description 
The methods of the TecSyntPrinter class are listed here. 
The properties of the TecSyntPrinter class are listed here. 
The events of the TecSyntPrinter class are listed here. 
TecCustomPrinter Properties
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. 
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. 
TecSyntPrinter Class
TecSyntPrinter Class 
Description 
Defines number of the first printed page. 
Defines font of line numbers. 
Defines position of line numbers. 
Specifies print options. 
Indicates position of the last line after printing a page. 
Defines end position of the printed area. 
Defines whether only selected text is printed. 
Defines start position of the printed area. 
Linked syntax memo, which text has to be printed. 
TecCustomPrinter Events
TecCustomPrinter Events 
Description 
Occurs after each print job has finished printing. 
Occurs before the print job has begun. 
Occurs before field is replaced with a corresponding string. 
TecSyntPrinter Class
TecSyntPrinter Class 
Description 
Occurs for each line processing during page building. 
Copyright (c) 2004-2011. All rights reserved.