Maptitude GISDK Help

GetDefaultPrinter()

Summary

Gets the default printer.

 

Syntax

default_printer = GetDefaultPrinter()

 

Returns

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

 

Example

// Change the current layout printer to be the default printer

a = GetDefaultPrinter()

SetLayoutPrinter(a[1], a[2])

 

See Also

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