Instance Method

drawSheetBorderWithSize:

Allows applications that use the AppKit pagination facility to draw additional marks on each printed sheet.

Declaration

- (void)drawSheetBorderWithSize:(NSSize)borderSize;

Parameters

borderSize

An NSSize structure that defines a printed sheet.

Discussion

The marks can be such things as crop marks or fold lines of size borderSize. This method has been deprecated.

See Also

Printing

- print:

This action method opens the Print panel, and if the user chooses an option other than canceling, prints the view and all its subviews to the device specified in the Print panel.

- beginPageInRect:atPlacement:

Called at the beginning of each page, this method sets up the coordinate system so that a region inside the view’s bounds is translated to a specified location.

- dataWithEPSInsideRect:

Returns EPS data that draws the region of the view within a specified rectangle.

- dataWithPDFInsideRect:

Returns PDF data that draws the region of the view within a specified rectangle.

printJobTitle

The view’s print job title.

pageHeader

A default header string that includes the print job title and date.

pageFooter

A default footer string that includes the current page number and page count.

- writeEPSInsideRect:toPasteboard:

Writes EPS data that draws the region of the view within a specified rectangle onto a pasteboard.

- writePDFInsideRect:toPasteboard:

Writes PDF data that draws the region of the view within a specified rectangle onto a pasteboard.

- drawPageBorderWithSize:

Allows applications that use the AppKit pagination facility to draw additional marks on each logical page.