The CwPrinterPrompter allows users to select a printer. The user can configure job attributes for a printer by using a platform- and printer-specific setup dialog. Print job attributes for the selected printer can be retrieved by sending
jobAttributes to the
CwPrinterPrompter after a printer has been selected. A
CwPrinterPrompter from the OS/2 platform is shown in the following diagram.
When a printer prompter returns successfully (the value is not nil), its
jobAttributes method answers that with a
CgPrintJobAttributes compatible with the selected printer. The job attributes should be used when creating a printer shell by specifying the
jobAttributes: resource message in the create argBlock for the shell.