
BBjAPI::lookupPrinters
Description
In BBj 4.0 and higher, this method looks up a list of printer names that satisfy a given set of javax.print.attribute.PrintService attributes.
Syntax
Return Value |
Method |
---|---|
lookupPrinters(AttributeSet attributes, int client) |
Parameters
Return Value |
Method |
---|---|
attributes |
Specifies the set of javax.print.attribute.PrintService attributes that must be satisfied by the list of printer names returned. |
client |
Specifies whether to use local or client (remote) printer. |
Return Value
Returns a list of printer names.
Remarks
None.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.