Returns an array of panes to be added to a printing dialog.
- macOS 10.4+
A constant, provided by the printing system, that indicates the type of panes this method should return. The constants are defined in
PMPrinting. There are three possible values:
Dialog Extensions .h
App Page Setup Dialog Type IDStr
This an application plug-in and the panes you return are added to the Page Setup dialog.
App Dialog Type IDStr
This an application plug-in and the panes you return are added to the Print dialog.
Printer Module Type IDStr
This is a printer driver plug-in and the panes you return are added to the Print dialog.
An object, provided by the printing system, that implements the methods in the
PDEPluginformal protocol. A Cocoa PDE can use the host to obtain information about the current print job. For example:
In Callback Protocol
Your PDE can use the host to obtain the
PMPageobject to save a custom pane’s settings.
If your PDE has printer-specific panes, the PDE can use the host to obtain the
PMPrinterobject to aid in determining the panes that should be available.
An array of objects conforming to the
PDEPanel informal protocol. Each object represents a pane to be added to the dialog. You may return either
nil or an empty array if no panes should be used.
In this required method, your PDE should use the information provided in the parameters to determine which pane objects, if any, should be created and returned to the printing system. Your PDE should also retain the host object for later use.