User's Guide
Reference Manual
Release Notes
PDF
Top

wxErlang
Reference Manual
Version 0.99.1

Expand All
Contract All

Table of Contents

# wxPrinter

### MODULE

wxPrinter

### MODULE SUMMARY

See external documentation: wxPrinter.

### DESCRIPTION

See external documentation: wxPrinter.

### DATA TYPES

wxPrinter()

  An object reference, The representation is internal and can be changed without notice. It can't be used for comparsion stored on disc or distributed for use on other nodes.

### EXPORTS

new() -> wxPrinter()

Equivalent to new([]).

new(Options::[Option]) -> wxPrinter()

Types:

Option = {data, wxPrintDialogData() (see module wxPrintDialogData)}

See external documentation.

createAbortWindow(This::wxPrinter(), Parent::wxWindow() (see module wxWindow), Printout::wxPrintout() (see module wxPrintout)) -> wxWindow() (see module wxWindow)

See external documentation.

getAbort(This::wxPrinter()) -> bool()

See external documentation.

getLastError() -> WxPrinterError

Types:

WxPrinterError = integer()

See external documentation.
WxPrinterError is one of ?wxPRINTER_NO_ERROR | ?wxPRINTER_CANCELLED | ?wxPRINTER_ERROR

getPrintDialogData(This::wxPrinter()) -> wxPrintDialogData() (see module wxPrintDialogData)

See external documentation.

print(This::wxPrinter(), Parent::wxWindow() (see module wxWindow), Printout::wxPrintout() (see module wxPrintout)) -> bool()

Equivalent to print(This, Parent, Printout, []).

print(This::wxPrinter(), Parent::wxWindow() (see module wxWindow), Printout::wxPrintout() (see module wxPrintout), Options::[Option]) -> bool()

Types:

Option = {prompt, bool()}

See external documentation.

printDialog(This::wxPrinter(), Parent::wxWindow() (see module wxWindow)) -> wxDC() (see module wxDC)

See external documentation.

reportError(This::wxPrinter(), Parent::wxWindow() (see module wxWindow), Printout::wxPrintout() (see module wxPrintout), Message::string()) -> ok

See external documentation.

setup(This::wxPrinter(), Parent::wxWindow() (see module wxWindow)) -> bool()

See external documentation.

destroy(This::wxPrinter()) -> ok

Destroys this object, do not use object again