TE Edit Control .NET Core / .NET Framework Help
Product page

TerSetDefPrinter

Set the default printer for the editor.

static bool TerSetDefPrinter(PrtSetting,PgSettings)
PrinterSettings PrtSettings; Default printer settings object
PageSettings PgSettings;Default page settings object

Description: Use this function to override the Windows default printer. The new default printer is effective for the controls created after this function is called. This function can also be called before calling the TerMergePrint function.

Return Value: This function always returns true.

Example:

CTern.TerSetDefPrinter(new PrintSettings(), new PageSettings());

_______________________________________________________________________