A method identified as deprecated has been superseded and may become unsupported in the future.
Sets whether the print operation should display a print panel. (Deprecated in Mac OS X v10.4 and later. Use setShowsPrintPanel: and setShowsProgressPanel: instead.)
- (void)setShowPanels:(BOOL)flag
YES if the print operation should display a print panel; otherwise, NO.
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.
NSPrintOperation.h
Returns a Boolean value that indicates whether the print panel is to be displayed. (Deprecated in Mac OS X v10.4 and later. Use showsPrintPanel and showsProgressPanel instead.)
- (BOOL)showPanels
YES if the print panel is to be displayed; otherwise, NO.
NSPrintOperation.hReturns the accessory view used by the receiver’s print panel. (Deprecated in Mac OS X v10.5. Use the accessoryControllers method of NSPrintPanel instead.)
- (NSView *)accessoryView
The custom accessory view.
You use the setAccessoryView: method to customize the default NSPrintPanel object without having to subclass NSPrintPanel or specify your own print panel object.
NSPrintOperation.hReturns the type of content that the print job is printing. (Deprecated in Mac OS X v10.5. Use the jobStyleHint method of NSPrintPanel instead.)
- (NSString *)jobStyleHint
The content description, or nil if no job style hint has been set.
NSPrintOperation.hSets the custom accessory view to be displayed by the receiver's print panel. (Deprecated in Mac OS X v10.5. Use the addAccessoryController: method of NSPrintPanel instead.)
- (void)setAccessoryView:(NSView *)aView
The view to display in the print panel. You can use this view to specify additional print options.
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.
NSPrintOperation.hSets the type of content that the print job is printing. (Deprecated in Mac OS X v10.5. Use the setJobStyleHint: method of NSPrintPanel instead.)
- (void)setJobStyleHint:(NSString *)hint
A supported job style hint. Valid values for this parameter are described in the “Constants” section of the NSPrintPanel class. If this value is nil, the standard interface is used.
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.
NSPrintOperation.h
© 2007 Apple Inc. All Rights Reserved. (Last updated: 2007-03-02)