Platforms to show: All Mac Windows Linux Cross-Platform
NSPrintPanelMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Cocoa Printing | MBS MacCocoa Plugin | 12.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
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.
- event printPanelDidEnd(returnCode as Integer)
- 5 properties
- property Handle as Integer
- property defaultButtonTitle as string
- property helpAnchor as string
- property jobStyleHint as string
- property options as Integer
- 7 methods
- method beginSheetWithPrintInfo(printInfo as NSPrintInfoMBS, win as DesktopWindow)
- method beginSheetWithPrintInfo(printInfo as NSPrintInfoMBS, win as NSWindowMBS)
- method beginSheetWithPrintInfo(printInfo as NSPrintInfoMBS, win as window)
- method Constructor
- method printInfo as NSPrintInfoMBS
- method runModal as Integer
- method runModalWithPrintInfo(printInfo as NSPrintInfoMBS) as Integer
- 4 shared methods
- shared method NSPrintAllPresetsJobStyleHint as string
- shared method NSPrintNoPresetsJobStyleHint as string
- shared method NSPrintPhotoJobStyleHint as string
- shared method printPanel as NSPrintPanelMBS
- 8 constants
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. more |
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. more |
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:
- NSPrintOperationMBS.printPanel as NSPrintPanelMBS
Blog Entries
The items on this page are in the following plugins: MBS MacCocoa Plugin.
NSPrintOperationMBS - NSProcessInfoActivityMBS