
BBjPrinter
Description
In BBj 4.0 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(int client) |
BBjPrinter |
getBBjPrinter(string name, int client) |
BBjPrinter |
getBBjPrinter(AttributeSet attributes, int client) |
Methods of BBjPrinter
Return Value |
Method |
---|---|
printRequestAttributeSet |
|
getForm(boolean dialog) |
|
void |
setAttributes(PrintRequestAttributeSet attributes) |
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
REM Get PrintRequest attribues for print job |
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.