BBjPrinter::getForm

Description

In BBj 4.0 and higher, this method obtains a BBjForm object for the currently selected printer.

Syntax

Return Value

Method

BBjForm

getForm(boolean dialog)

Parameters

Variable

Description

dialog

Specifies whether to display a print dialog.

Return Value

Returns a BBjForm object for the selected printer.

Remarks

If the printer is local to the server, this method might not accurately display a print dialog.

Example

REM Get a BBjPrintDoc for this printer

REM Obtain the instance to the BBjAPI object
myAPI!=BBjAPI()

REM Obtain an instance of a default BBjPrinter object
LET myBBjPrinter!=myAPI!.getBBjPrinter(0)

REM Get BBjForm for the selected printer
LET myForm!=myBBjPrinter!.getForm(1)

RELEASE

See Also

BBjAPI

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.