Deprecated NSPrintOperation Methods
A method identified as deprecated has been superseded and may become unsupported in the future.
Deprecated in OS X v10.4 and later
setShowPanels:
Sets whether the print operation should display a print panel. (Deprecated in OS X v10.4 and later. Use setShowsPrintPanel: and setShowsProgressPanel: instead.)
Parameters
- flag
YESif the print operation should display a print panel; otherwise,NO.
Discussion
This method also affects whether a progress panel is presented while the operation runs. If an EPS or PDF copy operation is being performed, neither panel is displayed, regardless of the value of flag.
Availability
- Deprecated in OS X v10.4 and later.
Declared In
NSPrintOperation.hshowPanels
Returns a Boolean value that indicates whether the print panel is to be displayed. (Deprecated in OS X v10.4 and later. Use showsPrintPanel and showsProgressPanel instead.)
Return Value
YES if the print panel is to be displayed; otherwise, NO.
Availability
- Deprecated in OS X v10.4 and later.
Declared In
NSPrintOperation.hDeprecated in OS X v10.5
accessoryView
Returns the accessory view used by the receiver’s print panel. (Deprecated in OS X v10.5. Use the accessoryControllers method of NSPrintPanel instead.)
Return Value
The custom accessory view.
Discussion
You use the setAccessoryView: method to customize the default NSPrintPanel object without having to subclass NSPrintPanel or specify your own print panel object.
Availability
- Available in OS X v10.0 and later.
- Deprecated in OS X v10.5.
Declared In
NSPrintOperation.hjobStyleHint
Returns the type of content that the print job is printing. (Deprecated in OS X v10.5. Use the jobStyleHint method of NSPrintPanel instead.)
Return Value
The content description, or nil if no job style hint has been set.
Availability
- Available in OS X v10.2 and later.
- Deprecated in OS X v10.5.
See Also
Declared In
NSPrintOperation.hsetAccessoryView:
Sets the custom accessory view to be displayed by the receiver's print panel. (Deprecated in OS X v10.5. Use the addAccessoryController: method of NSPrintPanel instead.)
Parameters
- aView
The view to display in the print panel. You can use this view to specify additional print options.
Discussion
You can use this method to avoid subclassing NSPrintPanel or specifying your own print panel object. The print panel is automatically resized (as needed) to accommodate the accessory view when it is selected.
Availability
- Available in OS X v10.0 and later.
- Deprecated in OS X v10.5.
Declared In
NSPrintOperation.hsetJobStyleHint:
Sets the type of content that the print job is printing. (Deprecated in OS X v10.5. Use the setJobStyleHint: method of NSPrintPanel instead.)
Parameters
- hint
A supported job style hint. Valid values for this parameter are described in the “Constants” section of the
NSPrintPanelclass. If this value isnil, the standard interface is used.
Discussion
This controls the set of items that appear in the Presets menu of the simplified Print panel interface presented by this operation, if it presents one.
Availability
- Available in OS X v10.2 and later.
- Deprecated in OS X v10.5.
See Also
Declared In
NSPrintOperation.h© 2011 Apple Inc. All Rights Reserved. (Last updated: 2011-07-07)