
BBjAPI::getDefaultPrinterName
Description
In BBj 13.0 and higher, this method returns the name of the default printer.
Syntax
Return Value |
Method |
---|---|
string |
getDefaultPrinterName(int client) |
Parameters
Return Value |
Method |
---|---|
client |
Specifies whether to use local or client (remote) printer; 0 = local, 1 = remote. |
Return Value
Returns the name of the default printer.
Remarks
None.
Example
REM Obtain the default printer name
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.