Javascript: TXTextControl.setFormattingPrinter Method

Sets the name of a printer the text dimensions and capabilities of which are used to format the document. If the document is printed with this printer the displayed and the printed document have the same dimensions. If the property is set to "Standard", the system installed standard printer is used to format the document. If the property is set to "Display", the font dimensions of the display device are used to format the document. If the specified printer is not installed, the standard printer is used.

Introduced: 24.0.

Syntax

<void> TXTextControl.setFormattingPrinter(<String> printerName);
Parameter Description
printerName

The printer name.

See Also