CPMPrintSessionMBS class
Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version
22.2
22.3
22.4
22.5
23.0
23.1
23.2
23.3
23.4
23.5
24.0
24.1
The list of the topics,
classes,
interfaces,
controls,
modules,
global methods by category,
global methods by name,
screenshots,
licenses
and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
CPMPrintSessionMBS class
A class for a print session.
Works only in Carbon Stuff and can only be used with CGContext which works only on Mac OS X.
- event SheetDone(WindowHandle as Integer, accepted as boolean)
- 6 properties
- 23 methods
- method BeginDocument(settings as CPMPrintSettingsMBS, pageformat as CPMPageFormatMBS)
- method BeginDocumentNoDialog(settings as CPMPrintSettingsMBS, pageformat as CPMPageFormatMBS)
- method BeginPage(pageformat as CPMPageFormatMBS, rect as CPMRectMBS)
- method BeginPageNoDialog(pageformat as CPMPageFormatMBS, rect as CPMRectMBS)
- method Constructor
- method CreatePrinterList(list() as string)
- method CreatePrinterList(list() as string, byref index as Integer, byref currentprinter as CPMPrinterMBS)
- method DefaultPageFormat(pageformat as CPMPageFormatMBS)
- method DefaultPrintSettings(printsettings as CPMPrintSettingsMBS)
- method EndDocument
- method EndDocumentNoDialog
- method EndPage
- method EndPageNoDialog
- method GetDestinationFormat(printsettings as CPMPrintSettingsMBS) as String
- method GetDestinationLocation(printsettings as CPMPrintSettingsMBS) as String
- method GetDestinationType(printsettings as CPMPrintSettingsMBS) as Integer
- method PageContext as CGContextMBS
- method PageSetupDialog(pageformat as CPMPageFormatMBS) as boolean
- method PrintDialog(settings as CPMPrintSettingsMBS, pageformat as CPMPageFormatMBS) as boolean
- method SetDestination(printsettings as CPMPrintSettingsMBS, desttype as Integer, destformat as String, desturl as String)
- method UseSheets(docWindow as window)
- method ValidatePageFormat(pageformat as CPMPageFormatMBS) as boolean
- method ValidatePrintSettings(printsettings as CPMPrintSettingsMBS) as boolean
- 5 shared methods
- 7 constants
Destination Types
Constant |
Value |
Description |
kPMDestinationFax
|
3 |
Fax
|
kPMDestinationFile
|
2 |
File
|
kPMDestinationInvalid
|
0 |
Invalid
|
kPMDestinationPreview
|
4 |
Preview
|
kPMDestinationPrinter
|
1 |
Printer
|
kPMDestinationProcessPDF
|
5 |
Process to PDF
|
kPMDestinationTypeDefault
|
1 |
Default is printer.
|
This class has no sub classes.
Some useful global functions for this class:
Some examples using this class:
Blog Entries
The items on this page are in the following plugins: MBS MacCG Plugin.
CPMPrinterMBS
-
CPMPrintSettingsMBS