# NSPrintOperation

scottc@net-community.com
FredKiefer@gmx.de
fedor@gnu.org
cehardin@mac.com

Controls generation of EPS, PDF or PS print jobs.

1996,2001,2004 Free Software Foundation, Inc.
Class Description

NSPrintOperation controls printing of an NSView. When invoked normally it will (optionally) display a standard print panel (NSPrintPanel), and based on the information entered by the user here as well as information about page layout (see NSPageLayout) tells the NSView to print it's contents. NSPrintOperation works with the NSView to paginate the output into appropriately sized and oriented pages and finally delivers the result to the appropriate place, whether it be a printer, and PostScript file, or another output.

AppKit/NSPrintOperation.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.
EPSOperationWithView:
aView
insideRect:
rect
toData:
data
Description forthcoming.
EPSOperationWithView:
aView
insideRect:
rect
toData:
data
printInfo:
aPrintInfo
Description forthcoming.
EPSOperationWithView:
aView
insideRect:
rect
toPath:
path
printInfo:
aPrintInfo
Description forthcoming.
PDFOperationWithView:
aView
insideRect:
rect
toData:
data
Description forthcoming.
PDFOperationWithView:
aView
insideRect:
rect
toData:
data
printInfo:
aPrintInfo
Description forthcoming.
PDFOperationWithView:
aView
insideRect:
rect
toPath:
path
printInfo:
aPrintInfo
Description forthcoming.
currentOperation
Returns the NSPrintOperation object that is currently performing a print operation (if any).
printOperationWithView:
aView
Description forthcoming.
printOperationWithView:
aView
printInfo:
aPrintInfo
Description forthcoming.
setCurrentOperation:
operation
Set the current NSPrintOperation to the supplied operation object. As this is currently implemented, if a NSPrintOperation is currently running, that operation is lost (along with any associated context), so be careful to call this only when there is no current operation.
accessoryView
Returns the accessory view used by the NSPrintPanel associated with the receiver.
cleanUpOperation
Called by the print operation after it has finished running a printing operation.
context
Returns the graphic contexts used by the print operation.
createContext
This method is used by the print operation to create a special graphics context for use while running the print operation.
currentPage
Returns the page currently being printing. Returns 0 if no page is currently being printed
deliverResult
Called by the print operation to deliver the results of the printing operation. This might include sending the output to a printer, a file or a previewing program. Returns `YES` if the output was delivered sucessfully.
destroyContext
This method is used by the print operation to destroy the special graphic context used while running the print operation.
initEPSOperationWithView:
aView
insideRect:
rect
toData:
data
printInfo:
aPrintInfo
Description forthcoming.
initWithView:
aView
printInfo:
aPrintInfo
Description forthcoming.
isCopyingOperation
Description forthcoming.
isEPSOperation
Returns `YES` if the receiver is performing an operation whose output is EPS format.
pageOrder
Returns the page order of printing.
printInfo
Returns the NSPrintInfo object associated with the receiver.
printPanel
Returns the NSPrintPanel associated with the receiver.
runOperation
Call this message to run the print operation on a view. This includes (optionally) displaying a print panel and working with the NSView to paginate and draw the contents of the view.
runOperationModalForWindow:
docWindow
delegate:
delegate
didRunSelector:
didRunSelector
contextInfo:
contextInfo
Run a print operation modally with respect to a window.
setAccessoryView:
aView
Set the accessory view used by the NSPrintPanel associated with the receiver.
setPageOrder:
order
Set the page order used when printing.
setPrintInfo:
aPrintInfo
Set the NSPrintInfo object associated with the receiver.
setPrintPanel:
panel
Sets the NSPrintPanel used by the receiver obtaining and displaying printing information from/to the user.
setShowPanels:
flag
Use this to set whether a print panel is displayed during a printing operation. If set to `NO`, then the receiver uses information that was previously set and does not display any status information about the progress of the printing operation.
showPanels
Returns `YES` if the reciever display an NSPrintPanel and other information when running a print operation.
view
Return the view that is the being printed.
Software documentation for the NSPrintOperation(Private) category
AppKit/NSPrintOperation.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.
initWithView:
aView
insideRect:
rect
toData:
data
printInfo:
aPrintInfo
Description forthcoming.