Platforms to show: All Mac Windows Linux Cross-Platform
Cocoa Printing
Printing for Cocoa Mac Applications.
- Classes
- class NSPageLayoutMBS
- 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
- shared method pageLayout as NSPageLayoutMBS
- method printInfo as NSPrintInfoMBS
- method runModal as Integer
- method runModalWithPrintInfo(printInfo as NSPrintInfoMBS) as Integer
- shared method runPageLayout
- property Handle as Integer
- event printPanelDidEnd(returnCode as Integer)
- class NSPrinterMBS
- method booleanForKey(key as string, table as string) as boolean
- method Constructor(name as string = "")
- method copy as NSPrinterMBS
- shared method defaultPrinter as NSPrinterMBS
- method deviceDescription as Dictionary
- method floatForKey(key as string, table as string) as Double
- method intForKey(key as string, table as string) as Integer
- method isKey(key as string, table as string) as boolean
- method languageLevel as Integer
- method name as string
- method pageSizeForPaper(paperName as string) as NSSizeMBS
- shared method printerNames as string()
- shared method printerTypes as string()
- shared method printerWithName(name as string) as NSPrinterMBS
- shared method printerWithType(type as string) as NSPrinterMBS
- method rectForKey(key as string, table as string) as NSRectMBS
- method sizeForKey(key as string, table as string) as NSSizeMBS
- method statusForTable(paperName as string) as Integer
- method stringForKey(key as string, table as string) as string
- method stringListForKey(key as string, table as string) as string()
- method type as string
- property Handle as Integer
- class NSPrintInfoMBS
- method Constructor
- method Constructor(attributes as Dictionary)
- method Constructor(Data as Memoryblock)
- method copy as NSPrintInfoMBS
- shared method defaultPrinter as NSPrinterMBS
- shared method NSPrintAllPages as string
- shared method NSPrintBottomMargin as string
- shared method NSPrintCancelJob as string
- shared method NSPrintCopies as string
- shared method NSPrintDetailedErrorReporting as string
- shared method NSPrintFaxNumber as string
- shared method NSPrintFirstPage as string
- shared method NSPrintHeaderAndFooter as string
- shared method NSPrintHorizontallyCentered as string
- shared method NSPrintHorizontalPagination as string
- shared method NSPrintJobDisposition as string
- shared method NSPrintJobSavingFileNameExtensionHidden as string
- shared method NSPrintJobSavingURL as string
- shared method NSPrintLastPage as string
- shared method NSPrintLeftMargin as string
- shared method NSPrintMustCollate as string
- shared method NSPrintOrientation as string
- shared method NSPrintPagesAcross as string
- shared method NSPrintPagesDown as string
- shared method NSPrintPaperName as string
- shared method NSPrintPaperSize as string
- shared method NSPrintPreviewJob as string
- shared method NSPrintPrinter as string
- shared method NSPrintPrinterName as string
- shared method NSPrintReversePageOrder as string
- shared method NSPrintRightMargin as string
- shared method NSPrintSaveJob as string
- shared method NSPrintScalingFactor as string
- shared method NSPrintSelectionOnly as string
- shared method NSPrintSpoolJob as string
- shared method NSPrintTime as string
- shared method NSPrintTopMargin as string
- shared method NSPrintVerticallyCentered as string
- shared method NSPrintVerticalPagination as string
- method SetSaveDestination(file as folderitem)
- shared method setSharedPrintInfo(printInfo as NSPrintInfoMBS)
- method setUpPrintOperationDefaultValues
- shared method sharedPrintInfo as NSPrintInfoMBS
- property bottomMargin as Double
- property data as Memoryblock
- property dictionary as dictionary
- property Handle as Integer
- property HorizontallyCentered as boolean
- property horizontalPagination as Integer
- property imageablePageBounds as NSRectMBS
- property jobDisposition as string
- property leftMargin as Double
- property localizedPaperName as string
- property orientation as Integer
- property paperName as string
- property paperSize as NSSizeMBS
- property printer as NSPrinterMBS
- property printerName as String
- property printSettings as dictionary
- property rightMargin as Double
- property scalingFactor as Double
- property SelectionOnly as boolean
- property SetupString as Memoryblock
- property topMargin as Double
- property VerticallyCentered as boolean
- property verticalPagination as Integer
- class NSPrintOperationMBS
- method Constructor
- method Constructor(other as NSPrintOperationMBS)
- method Constructor(view as DesktopHTMLViewer, printInfo as NSPrintInfoMBS = nil)
- method Constructor(view as HTMLViewer, printInfo as NSPrintInfoMBS = nil)
- method Constructor(view as NSViewMBS)
- method Constructor(view as NSViewMBS, printInfo as NSPrintInfoMBS)
- method context as NSGraphicsMBS
- shared method currentOperation as NSPrintOperationMBS
- method currentPage as Integer
- method data as Memoryblock
- method Destructor
- shared method EPSOperationWithView(view as NSViewMBS, rect as NSRectMBS) as NSPrintOperationMBS
- shared method EPSOperationWithView(view as NSViewMBS, rect as NSRectMBS, printInfo as NSPrintInfoMBS) as NSPrintOperationMBS
- shared method EPSOperationWithView(view as NSViewMBS, rect as NSRectMBS, printInfo as NSPrintInfoMBS, file as folderitem) as NSPrintOperationMBS
- shared method EPSOperationWithView(view as NSViewMBS, rect as NSRectMBS, printInfo as NSPrintInfoMBS, path as string) as NSPrintOperationMBS
- method isCopyingOperation as boolean
- shared method NSPrintOperationExistsException as string
- method pageRange as NSRangeMBS
- shared method PDFOperationWithView(view as NSViewMBS, rect as NSRectMBS) as NSPrintOperationMBS
- shared method PDFOperationWithView(view as NSViewMBS, rect as NSRectMBS, printInfo as NSPrintInfoMBS) as NSPrintOperationMBS
- shared method PDFOperationWithView(view as NSViewMBS, rect as NSRectMBS, printInfo as NSPrintInfoMBS, file as folderitem) as NSPrintOperationMBS
- shared method PDFOperationWithView(view as NSViewMBS, rect as NSRectMBS, printInfo as NSPrintInfoMBS, path as string) as NSPrintOperationMBS
- method preferredRenderingQuality as Integer
- shared method printOperationWithView(view as DesktopHTMLViewer, printInfo as NSPrintInfoMBS = nil) as NSPrintOperationMBS
- shared method printOperationWithView(view as HTMLViewer, printInfo as NSPrintInfoMBS = nil) as NSPrintOperationMBS
- shared method printOperationWithView(view as NSViewMBS) as NSPrintOperationMBS
- shared method printOperationWithView(view as NSViewMBS, printInfo as NSPrintInfoMBS) as NSPrintOperationMBS
- method runOperation as boolean
- method runOperationModalForWindow(win as DesktopWindow)
- method runOperationModalForWindow(win as NSWindowMBS)
- method runOperationModalForWindow(win as window)
- shared method setCurrentOperation(operation as NSPrintOperationMBS)
- method view as NSViewMBS
- property Handle as Integer
- property canSpawnSeparateThread as boolean
- property jobTitle as string
- property pageOrder as Integer
- property printInfo as NSPrintInfoMBS
- property printPanel as NSPrintPanelMBS
- property showsPrintPanel as boolean
- property showsProgressPanel as boolean
- event printOperationDidRun(success as boolean)
- class NSPrintPanelMBS
- 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
- shared method NSPrintAllPresetsJobStyleHint as string
- shared method NSPrintNoPresetsJobStyleHint as string
- shared method NSPrintPhotoJobStyleHint as string
- method printInfo as NSPrintInfoMBS
- shared method printPanel as NSPrintPanelMBS
- method runModal as Integer
- method runModalWithPrintInfo(printInfo as NSPrintInfoMBS) as Integer
- property Handle as Integer
- property defaultButtonTitle as string
- property helpAnchor as string
- property jobStyleHint as string
- property options as Integer
- event printPanelDidEnd(returnCode as Integer)
- class NSPageLayoutMBS
- Blog Entries
Release notes
- Version 22.0
- Added methods for NSPrintOperationMBS class to handle DesktopHTMLViewer.
- Version 21.2
- Updated NSPrintOperationMBS.printOperationWithView for WebKit 2.
- Version 21.0
- Fixed problem with NSPrintOperationMBS class when destructor is not called on main thread.
- Version 18.0
- Changed NSPrintOperationMBS to automatically pick WebDocumentView when passing WebView object.
The items on this page are in the following plugins: MBS MacCocoa Plugin.