BBjPrinter::getAttributes

Description

Obtains the user set of javax.print.attribute.PrintRequest attributes for the documents.

Syntax

Return Value

Method

PrintRequestAttributeSet

getAttributes()

Parameters

None.

Return Value

Returns the set of javax.print.attribute.PrintRequest attributes for documents.

Remarks

The set of attributes returned are only the set specified by a previous setAttributes method call.

Example

REM Get PrintRequest attribues for print job

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 request attributes
LET requestAttributes!=myBBjPrinter!.getAttributes()

RELEASE

See Also

BBjAPI

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