Method XbpPrinter():setupDialog() Foundation

Activates a dialog that allows the user to select attributes for the print job.

Syntax
:setupDialog() --> self
Return

This method returns the object executing the method (self).

Description

The method :setupDialog() displays and activates a dialog that is used to set the print job attributes. This window is used to determine printer specific settings for the print job. For example, the paper size and whether the orientation is portrait or landscape can generally be set.

The method closes the printer port. It may not be called between :startDoc() and :endDoc().

The :setupDialog() method activates the dialog that was installed along with the printer driver. If this dialog is faulty, the problem must be solved by the manufacturer of the printer driver. For example, if a dialog cannot be closed using the "Ok" pushbutton, no changes to print job attributes can be made. If a problems such as this occurs, the only solution is to install a newer version of the printer driver.

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.