Erlang logo
User's Guide
Reference Manual
Release Notes
PDF
Top

wxErlang
Reference Manual
Version 0.98.9


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)}

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

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

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)

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

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

Types:

Option = {prompt, bool()}

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

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

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

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

Destroys this object, do not use object again