SetLayoutPrinter()

Summary

Sets the printer for the current layout window.

Syntax

SetLayoutPrinter(string printer, string driver)

Argument Contents
printer The name of printer
driver The name of printer driver

Example

// Change the current layout printer to be the default printer
a = GetDefaultPrinter()
SetLayoutPrinter(a[1], a[2])

See Also

Function Summary
GetDefaultPrinter() Gets the default printer
GetLayoutPrinter() Gets the printer for a layout window
GetPrinters() Gets the model and driver names for all installed printers