Method XbpPrinter():setDefault() Foundation

Sets the system's default printer.

Syntax
:setDefault() --> oOldDefault
Return

:setDefault() returns an XbpPrinter object representing the previous default printer. If no default printer is set, the method returns NIL.

Description

The method :setDefault() sets the default printer of the computer. This affects all applications. All output not specifically sent to a certain printer is sent to the system's default printer. Once a new default printer is set, it remains the default until either the user resets it, or until the default printer is reset by the operating system.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.