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

wxErlang
Reference Manual
Version 1.8


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:

createAbortWindow(This, Parent, Printout) -> wxWindow:wxWindow()

Types:

This = wxPrinter()

getAbort(This) -> boolean()

Types:

This = wxPrinter()

getLastError() -> wx:wx_enum()

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

getPrintDialogData(This) -> wxPrintDialogData:wxPrintDialogData()

Types:

This = wxPrinter()

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

Types:

This = wxPrinter()

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

Types:

This = wxPrinter()
Option = {prompt, boolean()}

printDialog(This, Parent) -> wxDC:wxDC()

Types:

This = wxPrinter()

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

Types:

This = wxPrinter()
Message = unicode:chardata()

setup(This, Parent) -> boolean()

Types:

This = wxPrinter()

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

Destroys this object, do not use object again