Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSPrintInfoMBS class.

NSPrintInfoMBS.defaultPrinter as NSPrinterMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Printing MBS MacCocoa Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Returns the default printer.

NSPrintInfoMBS.NSPrintAllPages as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Printing MBS MacCocoa Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for print job attributes that are recognized by NSPrintInfo.

A boolean.

NSPrintInfoMBS.NSPrintCancelJob as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Printing MBS MacCocoa Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the possible job disposition values.

Cancel print job.

NSPrintInfoMBS.NSPrintCopies as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Printing MBS MacCocoa Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for print job attributes that are recognized by NSPrintInfo.

a number containing the number of copies of the print job to be printed

NSPrintInfoMBS.NSPrintDetailedErrorReporting as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Printing MBS MacCocoa Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for print job attributes that are recognized by NSPrintInfo.

A boolean.

NSPrintInfoMBS.NSPrintFaxNumber as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Printing MBS MacCocoa Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for print job attributes that are recognized by NSPrintInfo.

A string containing a fax number.

NSPrintInfoMBS.NSPrintFirstPage as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Printing MBS MacCocoa Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for print job attributes that are recognized by NSPrintInfo.

A number containing the one-based index of the first job in the page to print.

NSPrintInfoMBS.NSPrintHeaderAndFooter as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Printing MBS MacCocoa Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for print job attributes that are recognized by NSPrintInfo.

A boolean for whether the results of NSView pageHeader and NSView pageFooter should be drawn on pages

NSPrintInfoMBS.NSPrintJobDisposition as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Printing MBS MacCocoa Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for print job attributes that are recognized by NSPrintInfo.

A string equal to NSPrintSpoolJob, NSPrintPreviewJob, NSPrintSaveJob, or NSPrintCancelJob.

NSPrintInfoMBS.NSPrintJobSavingFileNameExtensionHidden as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Printing MBS MacCocoa Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for print job attributes that are recognized by NSPrintInfo.

A boolean for whether the job file's name extension should be hidden, for NSPrintSaveJob.
Available on Mac OS X 10.6.

NSPrintInfoMBS.NSPrintJobSavingURL as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Printing MBS MacCocoa Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for print job attributes that are recognized by NSPrintInfo.

An URL containing the location to which the job file will be saved, for NSPrintSaveJob.
Available on Mac OS X 10.6.

NSPrintInfoMBS.NSPrintLastPage as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Printing MBS MacCocoa Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for print job attributes that are recognized by NSPrintInfo.

An number containing the one-based index of the last job in the page to print.

NSPrintInfoMBS.NSPrintMustCollate as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Printing MBS MacCocoa Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for print job attributes that are recognized by NSPrintInfo.

A boolean value.

NSPrintInfoMBS.NSPrintOrientation as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Printing MBS MacCocoa Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the dictionary keys to access page format attributes.

A number containing an NSPrintingOrientation.
NSPortraitOrientation or NSLandscapeOrientation

NSPrintInfoMBS.NSPrintPagesAcross as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Printing MBS MacCocoa Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for print job attributes that are recognized by NSPrintInfo.

A number containing the number of logical pages to be placed across a physical sheet.

NSPrintInfoMBS.NSPrintPagesDown as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Printing MBS MacCocoa Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for print job attributes that are recognized by NSPrintInfo.

A number containing the number of logical pages to be placed down a physical sheet.

NSPrintInfoMBS.NSPrintPaperName as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Printing MBS MacCocoa Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the dictionary keys to access page format attributes.

A string containing the paper name.

NSPrintInfoMBS.NSPrintPaperSize as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Printing MBS MacCocoa Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the dictionary keys to access page format attributes.

A size value specifying the height and width of paper in points.

NSPrintInfoMBS.NSPrintPreviewJob as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Printing MBS MacCocoa Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the possible job disposition values.

Send to Preview application.

NSPrintInfoMBS.NSPrintPrinter as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Printing MBS MacCocoa Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for print job attributes that are recognized by NSPrintInfo.

Value in dictionary is a NSPrinterMBS.

NSPrintInfoMBS.NSPrintPrinterName as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Printing MBS MacCocoa Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for print job attributes that are recognized by NSPrintInfo.

A string containing the name of a printer.

NSPrintInfoMBS.NSPrintReversePageOrder as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Printing MBS MacCocoa Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for print job attributes that are recognized by NSPrintInfo.

Value for this key is a boolean value.

NSPrintInfoMBS.NSPrintSaveJob as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Printing MBS MacCocoa Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the possible job disposition values.

Save to a file.

NSPrintInfoMBS.NSPrintScalingFactor as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Printing MBS MacCocoa Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the dictionary keys to access page format attributes.

Scale factor percentage before pagination.

NSPrintInfoMBS.NSPrintSelectionOnly as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Printing MBS MacCocoa Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for print job attributes that are recognized by NSPrintInfo.

A boolean value.
Available on Mac OS X 10.6 or newer.

NSPrintInfoMBS.NSPrintSpoolJob as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Printing MBS MacCocoa Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the possible job disposition values.

Normal print job.

NSPrintInfoMBS.NSPrintTime as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Printing MBS MacCocoa Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for print job attributes that are recognized by NSPrintInfo.

An NSDate containing the time at which printing should begin.

Pagination Attribute Keys

NSPrintInfoMBS.NSPrintBottomMargin as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Printing MBS MacCocoa Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the dictionary keys to access pagination attributes.

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

NSPrintInfoMBS.NSPrintHorizontallyCentered as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Printing MBS MacCocoa Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the dictionary keys to access pagination attributes.

Number, containing a Boolean value that is true if pages are centered horizontally.

NSPrintInfoMBS.NSPrintHorizontalPagination as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Printing MBS MacCocoa Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the dictionary keys to access pagination attributes.

Number, containing a NSPrintingPaginationMode value.
NSAutoPagination, NSFitPagination, or NSClipPagination. See HorizontalPagination for details.

NSPrintInfoMBS.NSPrintLeftMargin as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Printing MBS MacCocoa Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the dictionary keys to access pagination attributes.

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

NSPrintInfoMBS.NSPrintRightMargin as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Printing MBS MacCocoa Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the dictionary keys to access pagination attributes.

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

NSPrintInfoMBS.NSPrintTopMargin as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Printing MBS MacCocoa Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the dictionary keys to access pagination attributes.

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

NSPrintInfoMBS.NSPrintVerticallyCentered as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Printing MBS MacCocoa Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the dictionary keys to access pagination attributes.

Number, containing a Boolean value that is true if pages are centered vertically.

NSPrintInfoMBS.NSPrintVerticalPagination as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Printing MBS MacCocoa Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the dictionary keys to access pagination attributes.

Number, containing a NSPrintingPaginationMode value.
NSAutoPagination, NSFitPagination, or NSClipPagination. See VerticalPagination for details.

NSPrintInfoMBS.setSharedPrintInfo(printInfo as NSPrintInfoMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Printing MBS MacCocoa Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Sets the shared NSPrintInfo object to the specified object.

printInfo: The new shared printer information. This value must not be nil.

The shared NSPrintInfo object defines the settings for the NSPageLayout panel and print operations that will be used if no NSPrintInfo object is specified for those operations.

NSPrintInfoMBS.sharedPrintInfo as NSPrintInfoMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Printing MBS MacCocoa Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Returns the shared NSPrintInfo object.

Some examples using this method:

The items on this page are in the following plugins: MBS MacCocoa Plugin.


The biggest plugin in space...