Javascript: TXTextControl.getInstalledPrinters Method
Description
Gets the names of the printers installed on the server which are usable by Text Control.
Syntax
<void> TXTextControl.getInstalledPrinters(<RequestStringsCallback> callback)Parameters
| Parameter | Description |
|---|---|
| callback | Is called with the names of the installed printers which can be used by Text Control as soon as the information has been retrieved from the server. |
Examples
The following example demonstrates TXTextControl.getInstalledPrinters in a practical document-editing workflow. It gets the names of the printers installed on the server which are usable by Text Control.
TXTextControl.getInstalledPrinters(
function(result) {
console.log("get installed printers result:", result);
}
);