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

wxErlang
Reference Manual
Version 1.3.3


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(Option::[Option]) -> wxPrinter()

Types:

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

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

Types:

This = wxPrinter()
Parent = wxWindow() (see module wxWindow)
Printout = wxPrintout() (see module wxPrintout)

getAbort(This) -> boolean()

Types:

This = wxPrinter()

getLastError() -> wx_enum() (see module wx)

See external documentation.
Res = ?wxPRINTER_NO_ERROR | ?wxPRINTER_CANCELLED | ?wxPRINTER_ERROR

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

Types:

This = wxPrinter()

print(This, Parent, Printout) -> boolean()

Types:

This = wxPrinter()
Parent = wxWindow() (see module wxWindow)
Printout = wxPrintout() (see module wxPrintout)

print(This, Parent, Printout, Option::[Option]) -> boolean()

Types:

This = wxPrinter()
Parent = wxWindow() (see module wxWindow)
Printout = wxPrintout() (see module wxPrintout)
Option = {prompt, boolean()}

printDialog(This, Parent) -> wxDC() (see module wxDC)

Types:

This = wxPrinter()
Parent = wxWindow() (see module wxWindow)

reportError(This, Parent, Printout, Message) -> ok

Types:

This = wxPrinter()
Parent = wxWindow() (see module wxWindow)
Printout = wxPrintout() (see module wxPrintout)
Message = chardata() (see module unicode)

setup(This, Parent) -> boolean()

Types:

This = wxPrinter()
Parent = wxWindow() (see module wxWindow)

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

Destroys this object, do not use object again