BBjPrinter
Description
In BBj 4.00 and higher, a BBjPrinter object allows the user to select a printer and start printing.
Creation
BBjAPI > BBjPrinter
The BBjPrinter object is created through the following BBjAPI object method:
Return Value |
Method |
---|---|
BBjPrinter |
getBBjPrinter(AttributeSet attributes, boolean client) |
BBjPrinter |
getBBjPrinter(boolean client) |
BBjPrinter |
getBBjPrinter(string name, boolean client) |
Methods of BBjPrinter
Return Value |
Method |
---|---|
printRequestAttributeSet |
|
getForm(boolean dialog) |
|
void |
setAttributes(PrintRequestAttributeSet attributes) |
void | setNative(boolean native) |
Remarks
Server-side (local) printing in UNIX requires an X server to be running. When using a client (remote) printer, the client machine must have a graphics environment, such as X, but the server does not.
Constants
None.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.