Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

NSPrintPanelMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Cocoa Printing MBS MacCocoa Plugin 12.4 Yes No No Yes, macOS only No
Function: An NSPrintPanel object creates the Print panel used to query the user for information about a print job.
Notes:
This panel may lets the user select the range of pages to print and the number of copies before executing the Print command.

Print panels can display a simplified interface when printing certain types of data. For example, the panel can display a list of print-setting presets, which lets the user enable print settings in groups as opposed to individually. The JobStyleHint property activates the simplified interface and identifies which presets to display.

Feedback, Comments & Corrections

Print Panel Option Constants

Constant Value Description
NSPrintPanelShowsCopies 1 The Print panel includes a field for manipulating the number of copies being printed. This field is separate from any accessory views.
Available in OS X v10.5 and later.
NSPrintPanelShowsOrientation 8 The Print panel includes a control for manipulating the page orientation. This control is separate from any accessory views.
Available in OS X v10.5 and later.
NSPrintPanelShowsPageRange 2 The Print panel includes a set of fields for manipulating the range of pages being printed. These fields are separate from any accessory views.
Available in OS X v10.5 and later.
NSPrintPanelShowsPageSetupAccessory 256 The Print panel includes a separate accessory view for manipulating the paper size, orientation, and scaling attributes. Page setup fields that are already configured for display on the main portion of the Print panel appear there and not on this accessory panel.
Available in OS X v10.5 and later.
NSPrintPanelShowsPaperSize 4 The Print panel includes a control for manipulating the paper size of the printer. This control is separate from any accessory views.
Available in OS X v10.5 and later.
NSPrintPanelShowsPreview 131072 The Print panel displays a built-in preview of the document contents. This option is only appropriate when the Print panel is used in conjunction with an NSPrintOperation object to print a document.
Available in OS X v10.5 and later.
NSPrintPanelShowsPrintSelection 32 The Print panel includes an additional selection option for paper range. This control is separate from any accessory views.
Available in OS X v10.6 and later.
NSPrintPanelShowsScaling 16 The Print panel includes a control for scaling the printed output. This control is separate from any accessory views.
Available in OS X v10.5 and later.

This class has no sub classes.

Some properties using for this class:


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


NSPrintOperationMBS   -   NSProcessInfoActivityMBS




Links
MBS Xojo Plugins