# NSPrintPanel

fedor@gnu.org
cehardin@mac.com
Generated at 2026-02-17 21:02:56 +0000

Standard panel for querying user about printing.

2001,2004 Free Software Foundation, Inc.
Class Description

NSPrintPanel provides a standard print panel allowing the user to specify information about how a document is to be printed, including the page range, number of copies and scale of the document. It also allows the user to save the document to a file or preview it. When a print: message is sent to an NSView or NSWindow, an NSPrintOpertation is created which manages printing of a view. The NSPrintOperation object would by default show a print panel in a modal loop for the user. You can avoid showing the print panel by sending the setShowsPanels: message in the print operation with a `NO` argument.

AppKit/NSPrintPanel.h
Description forthcoming.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
printPanel
Creates (if needed) and returns a shared instance of the NSPrintPanel panel.
accessoryControllers
Description forthcoming.
accessoryView

Returns the accessory view for the print panel

See Also: -setAccessoryView:

addAccessoryController:
accessoryController
Description forthcoming.
beginSheetWithPrintInfo:
printInfo
modalForWindow:
docWindow
delegate:
delegate
didEndSelector:
didEndSelector
contextInfo:
contextInfo
Description forthcoming.
defaultButtonTitle
Description forthcoming.
finalWritePrintInfo
Saves information set by the user in the receiver's panel in the NSPrintInfo object from the current NSPrintOperation.
helpAnchor
Description forthcoming.
jobStyleHint
Description forthcoming.
options
Description forthcoming.
pickedAllPages:
sender
This method has been depreciated. It doesn't do anything useful.
pickedButton:
sender
This method has been depreciated. It doesn't do anything useful.
pickedLayoutList:
sender
This method has been depreciated. It doesn't do anything useful.
printInfo
Description forthcoming.
removeAccessoryController:
accessoryController
Description forthcoming.
runModal
Display the Print panel in a modal loop. Saves any aquired information in the NSPrintInfo object for the current NSPrintOperation. Returns NSCancelButton if the user clicks the Cancel button or NSOKButton otherwise. Unlike other panels, this one does not order itself out after the modal session is finished. You must do that yourself.
runModalWithPrintInfo:
printInfo
Description forthcoming.
setAccessoryView:
aView

Sets the accessory view for the print panel to aView

See Also: -accessoryView

setDefaultButtonTitle:
defaultButtonTitle
Description forthcoming.
setHelpAnchor:
helpAnchor
Description forthcoming.
setJobStyleHint:
hint
Description forthcoming.
setOptions:
options
Description forthcoming.
updateFromPrintInfo
Setup the display in the receiver's panel based on the values stored in the NSPrintInfo object from the current NSPrintOperation.
Software documentation for the NSPrintPanel(Private) category
AppKit/NSPrintPanel.h
Warning this category is private, which means that the methods are for internal use by the package. You should not use them in external code.
_getSavePath
Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.
_setStatusStringValue:
string
Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.
Software documentation for the NSPrintPanelAccessorizing protocol
AppKit/NSPrintPanel.h
Description forthcoming.
keyPathsForValuesAffectingPreview
Description forthcoming.
localizedSummaryItems
Description forthcoming.