Instance Property


The printing information associated with the document.


@property(copy) NSPrintInfo *printInfo;

Return Value

The receiver’s NSPrintInfo object.


The default value of this property is the default NSPrintInfo object. To customize the printing information, assign a new value to this property. The Page Layout panel may also update the object in this property to reflect the options selected by the user.

See Also

Printing the Document

- preparePageLayout:

Adds document-specific content to the Page Layout panel.

- runModalPageLayoutWithPrintInfo:delegate:didRunSelector:contextInfo:

Runs the modal page layout panel with the receiver’s printing information object.

- runModalPrintOperation:delegate:didRunSelector:contextInfo:

Runs the specified print operation modally.

- shouldChangePrintInfo:

Returns a Boolean value that indicates whether the document allows changes to the default printing information.

- printDocumentWithSettings:showPrintPanel:delegate:didPrintSelector:contextInfo:

Prints the document's contents, optionally displaying a print panel to the user.

- printOperationWithSettings:error:

Creates and returns a print operation for the document's contents.


A print operation you can use to create a PDF representation of the document’s current contents.

- saveDocumentToPDF:

Exports a PDF representation of the document’s current contents.