| Maptitude GISDK Help |
Gets the default printer.
default_printer = GetDefaultPrinter()
Null if there is no default printer, otherwise an array of two elements:
| Element | Type | Contents |
|---|---|---|
| 1 | String | The name of the printer |
| 2 | String | The name of the printer driver |
// Change the current layout printer to be the default printer
a = GetDefaultPrinter()
SetLayoutPrinter(a[1], a[2])
| Function | Summary |
|---|---|
| GetLayoutPrinter() | Gets the printer for a layout window |
| SetLayoutPrinter() | Sets the printer for the current layout window |
| GetPrinters() | Gets the model and driver names for all installed printers |
| ©2025 Caliper Corporation | www.caliper.com |