Type Alias

NSPrintInfoAttributeKey

Constants for print job attributes.

Declaration

typedef NSString *NSPrintInfoAttributeKey;

Topics

Type Properties

NSPrintAllPages

An NSNumber object containing a Boolean value—if YES, includes all pages in output.

NSPrintBottomMargin

NSNumber, containing a floating-point value that specifies the bottom margin, in points.

NSPrintCopies

An NSNumber object containing an integer—the number of copies to spool.

NSPrintDetailedErrorReporting

An NSNumber object containing a Boolean value—if YES, produce detailed reports when an error occurs.

NSPrintFaxNumber

An NSString object that specifies a fax number.

NSPrintFirstPage

An NSNumber object containing an integer value that specifies the first page in the print job.

NSPrintHeaderAndFooter

An NSNumber object containing a Boolean value—if YES, a standard header and footer are added outside the margins of each page.

NSPrintHorizontalPagination

NSNumber, containing a NSPrintingPaginationMode value.

NSPrintHorizontallyCentered

NSNumber, containing a Boolean value that is YES if pages are centered horizontally.

NSPrintJobDisposition

An NSString object that specifies the job disposition.

NSPrintJobSavingFileNameExtensionHidden

A Boolean NSNumber indicating whether the job’s file name extension should be hidden when the jobDisposition is NSPrintSaveJob. The default is NO.

NSPrintJobSavingURL

An NSURL containing the location to which the job file will be saved when the jobDisposition is NSPrintSaveJob.

NSPrintLastPage

An NSNumber object containing an integer value that specifies the last page in the print job.

NSPrintLeftMargin

NSNumber, containing a floating-point value that specifies the left margin, in points.

NSPrintMustCollate

An NSNumber object containing a Boolean value—if YES, collates output.

NSPrintOrientation

An NSNumber object containing an NSPrintingOrientation.

NSPrintPagesAcross

An NSNumber object that specifies the number of logical pages to be tiled horizontally on a physical sheet of paper.

NSPrintPagesDown

An NSNumber object that specifies the number of logical pages to be tiled vertically on a physical sheet of paper.

NSPrintPaperName

An NSString object containing the paper name.

NSPrintPaperSize

An NSSize value specifying the height and width of paper in points.

NSPrintPrinter

An NSPrinter object—the printer to use.

NSPrintPrinterName

An NSString object that specifies the name of a printer.

NSPrintReversePageOrder

An NSNumber object containing a Boolean value—if YES, prints first page last.

NSPrintRightMargin

NSNumber, containing a floating-point value that specifies the right margin, in points.

NSPrintScalingFactor

Scale factor percentage before pagination.

NSPrintSelectionOnly

An NSNumber object containing a Boolean value—if YES only the current selection is printed.

NSPrintTime

An NSDate object that specifies the time at which printing should begin.

NSPrintTopMargin

NSNumber, containing a floating-point value that specifies the top margin, in points.

NSPrintVerticalPagination

NSNumber, containing a NSPrintingPaginationMode value.

NSPrintVerticallyCentered

NSNumber, containing a Boolean value that is YES if pages are centered vertically.