BBjPrinter::getForm

Description

In BBj 4.00 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.