-
Notifications
You must be signed in to change notification settings - Fork 569
PrintCore macOS xcode27.0 b1
Alex Soto edited this page Jun 9, 2026
·
1 revision
#PrintCore.framework
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h 2026-04-18 22:55:33
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMCore.h 2026-05-21 08:34:18
@@ -303,11 +303,12 @@
* Not appropriate for CUPS filters, drivers, and backends.
*
*/
-extern OSStatus
+CF_IMPLICIT_BRIDGING_ENABLED
+extern OSStatus
PMSessionGetCGGraphicsContext(
PMPrintSession printSession,
CGContextRef __nullable * __nonnull context) AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER;
-
+CF_IMPLICIT_BRIDGING_DISABLED
#pragma mark
#pragma mark Session: Other routines
#pragma mark -
@@ -403,11 +404,13 @@
* Not appropriate for CUPS filters, drivers, and backends.
*
*/
-extern OSStatus
+CF_IMPLICIT_BRIDGING_ENABLED
+extern OSStatus
PMSessionCopyDestinationFormat(
PMPrintSession printSession,
PMPrintSettings printSettings,
CFStringRef __nullable * __nonnull destFormatP) AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER;
+CF_IMPLICIT_BRIDGING_DISABLED
/*
@@ -576,11 +579,13 @@
* Not appropriate for CUPS filters, drivers, and backends.
*
*/
-extern OSStatus
+CF_IMPLICIT_BRIDGING_ENABLED
+extern OSStatus
PMSessionCopyOutputFormatList(
PMPrintSession printSession,
PMDestinationType destType,
CFArrayRef __nullable * __nonnull documentFormatP) AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER;
+CF_IMPLICIT_BRIDGING_DISABLED
@@ -629,11 +634,13 @@
* Not appropriate for CUPS filters, drivers, and backends.
*
*/
-extern OSStatus
+CF_IMPLICIT_BRIDGING_ENABLED
+extern OSStatus
PMSessionCreatePageFormatList(
PMPrintSession printSession,
PMPrinter __nullable printer,
CFArrayRef __nullable * __nonnull pageFormatList) AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER;
+CF_IMPLICIT_BRIDGING_DISABLED
/*
@@ -650,13 +657,14 @@
* Not appropriate for CUPS filters, drivers, and backends.
*
*/
-extern OSStatus
+CF_IMPLICIT_BRIDGING_ENABLED
+extern OSStatus
PMSessionCreatePrinterList(
PMPrintSession printSession,
CFArrayRef __nullable * __nonnull printerList,
CFIndex * __nullable currentIndex,
PMPrinter __nullable * __nullable currentPrinter) AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER;
-
+CF_IMPLICIT_BRIDGING_DISABLED
/*
* PMSessionGetCurrentPrinter()
*
@@ -709,12 +717,13 @@
* Not appropriate for CUPS filters, drivers, and backends.
*
*/
-extern OSStatus
+CF_IMPLICIT_BRIDGING_ENABLED
+extern OSStatus
PMSessionGetDataFromSession(
PMPrintSession printSession,
CFStringRef key,
CFTypeRef __nullable * __nonnull data) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER;
-
+CF_IMPLICIT_BRIDGING_DISABLED
/*
* PMSessionSetDataInSession()
*
@@ -864,13 +873,14 @@
* Not appropriate for CUPS filters, drivers, and backends.
*
*/
-extern OSStatus
+CF_IMPLICIT_BRIDGING_ENABLED
+extern OSStatus
PMPageFormatCreateDataRepresentation(
PMPageFormat pageFormat,
CFDataRef __nullable * __nonnull data,
PMDataFormat format) AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
+CF_IMPLICIT_BRIDGING_DISABLED
-
/*
* PMPageFormatCreateWithDataRepresentation()
*
@@ -888,10 +898,12 @@
* Not appropriate for CUPS filters, drivers, and backends.
*
*/
-extern OSStatus
+CF_IMPLICIT_BRIDGING_ENABLED
+extern OSStatus
PMPageFormatCreateWithDataRepresentation(
CFDataRef data,
PMPageFormat __nullable * __nonnull pageFormat) AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
+CF_IMPLICIT_BRIDGING_DISABLED
@@ -996,10 +1008,12 @@
* Not appropriate for CUPS filters, drivers, and backends.
*
*/
+CF_IMPLICIT_BRIDGING_ENABLED
extern OSStatus
PMPageFormatGetPrinterID(
PMPageFormat pageFormat,
CFStringRef __nullable * __nonnull printerID ) AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
+CF_IMPLICIT_BRIDGING_DISABLED
/*
@@ -1259,11 +1273,13 @@
* Not appropriate for CUPS filters, drivers, and backends.
*
*/
-extern OSStatus
+CF_IMPLICIT_BRIDGING_ENABLED
+extern OSStatus
PMPrintSettingsCreateDataRepresentation(
PMPrintSettings printSettings,
CFDataRef __nullable * __nonnull data,
PMDataFormat format) AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
+CF_IMPLICIT_BRIDGING_DISABLED
/*
@@ -1421,10 +1437,12 @@
* Not appropriate for CUPS filters, drivers, and backends.
*
*/
-extern OSStatus
+CF_IMPLICIT_BRIDGING_ENABLED
+extern OSStatus
PMPrintSettingsGetJobName(
PMPrintSettings printSettings,
CFStringRef __nullable * __nonnull name) AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER;
+CF_IMPLICIT_BRIDGING_DISABLED
/*
* PMPrintSettingsGetValue()
@@ -1449,12 +1467,13 @@
* Not appropriate for CUPS filters, drivers, and backends.
*
*/
-extern OSStatus
+CF_IMPLICIT_BRIDGING_ENABLED
+extern OSStatus
PMPrintSettingsGetValue(
PMPrintSettings printSettings,
CFStringRef key,
CFTypeRef __nullable * __nonnull value) AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER;
-
+CF_IMPLICIT_BRIDGING_DISABLED
#pragma mark -
/*
@@ -1654,10 +1673,12 @@
* Not appropriate for CUPS filters, drivers, and backends.
*
*/
+CF_IMPLICIT_BRIDGING_ENABLED
extern OSStatus
PMPrintSettingsCopyAsDictionary(
PMPrintSettings printSettings,
CFDictionaryRef __nullable * __nonnull settingsDictionary) AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
+CF_IMPLICIT_BRIDGING_DISABLED
/*
* PMPrintSettingsCopyKeys()
@@ -1683,10 +1704,12 @@
* Not appropriate for CUPS filters, drivers, and backends.
*
*/
+CF_IMPLICIT_BRIDGING_ENABLED
extern OSStatus
PMPrintSettingsCopyKeys(
PMPrintSettings printSettings,
CFArrayRef __nullable * __nonnull settingsKeys) AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
+CF_IMPLICIT_BRIDGING_DISABLED
@@ -1744,12 +1767,13 @@
* Not appropriate for CUPS filters, drivers, and backends.
*
*/
-extern OSStatus
+CF_IMPLICIT_BRIDGING_ENABLED
+extern OSStatus
PMServerCreatePrinterList(
PMServer __nullable server,
CFArrayRef __nullable * __nonnull printerList) AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER;
+CF_IMPLICIT_BRIDGING_DISABLED
-
/*
* PMServerLaunchPrinterBrowser()
*
@@ -1848,11 +1872,13 @@
* Not appropriate for CUPS filters, drivers, and backends.
*
*/
-extern OSStatus
+CF_IMPLICIT_BRIDGING_ENABLED
+extern OSStatus
PMPrinterCopyDescriptionURL(
PMPrinter printer,
CFStringRef descriptionType,
CFURLRef __nullable * __nonnull fileURL) AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER;
+CF_IMPLICIT_BRIDGING_DISABLED
/*
@@ -1881,10 +1907,12 @@
* Not appropriate for CUPS filters, drivers, and backends.
*
*/
-extern OSStatus
+CF_IMPLICIT_BRIDGING_ENABLED
+extern OSStatus
PMPrinterCopyDeviceURI(
PMPrinter printer,
CFURLRef __nullable * __nonnull deviceURI) AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER;
+CF_IMPLICIT_BRIDGING_DISABLED
/*
@@ -1902,10 +1930,12 @@
* Not appropriate for CUPS filters, drivers, and backends.
*
*/
-extern OSStatus
+CF_IMPLICIT_BRIDGING_ENABLED
+extern OSStatus
PMPrinterCopyHostName(
PMPrinter printer,
CFStringRef __nullable * __nonnull hostNameP) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;
+CF_IMPLICIT_BRIDGING_DISABLED
/*
@@ -1943,12 +1973,13 @@
* Not appropriate for CUPS filters, drivers, and backends.
*
*/
-extern OSStatus
+CF_IMPLICIT_BRIDGING_ENABLED
+extern OSStatus
PMPrinterCopyPresets(
PMPrinter printer,
CFArrayRef __nullable * __nonnull presetList) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;
+CF_IMPLICIT_BRIDGING_DISABLED
-
/*
* PMPrinterGetCommInfo()
*
@@ -2011,8 +2042,10 @@
* Not appropriate for CUPS filters, drivers, and backends.
*
*/
+CF_IMPLICIT_BRIDGING_ENABLED
extern CFStringRef __nullable
PMPrinterGetID(PMPrinter printer) AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER;
+CF_IMPLICIT_BRIDGING_DISABLED
/*
@@ -2027,8 +2060,10 @@
* Not appropriate for CUPS filters, drivers, and backends.
*
*/
+CF_IMPLICIT_BRIDGING_ENABLED
extern CFStringRef __nullable
PMPrinterGetLocation(PMPrinter printer) AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER;
+CF_IMPLICIT_BRIDGING_DISABLED
/*
@@ -2254,10 +2289,12 @@
* Not appropriate for CUPS filters, drivers, and backends.
*
*/
-extern OSStatus
+CF_IMPLICIT_BRIDGING_ENABLED
+extern OSStatus
PMPrinterGetMakeAndModelName(
PMPrinter printer,
CFStringRef __nullable * __nonnull makeAndModel) AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER;
+CF_IMPLICIT_BRIDGING_DISABLED
/*
@@ -2294,11 +2331,13 @@
* Not appropriate for CUPS filters, drivers, and backends.
*
*/
-extern OSStatus
+CF_IMPLICIT_BRIDGING_ENABLED
+extern OSStatus
PMPrinterGetMimeTypes(
PMPrinter printer,
PMPrintSettings __nullable settings,
CFArrayRef __nullable * __nonnull mimeTypes) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;
+CF_IMPLICIT_BRIDGING_DISABLED
/*
@@ -2313,8 +2352,10 @@
* Not appropriate for CUPS filters, drivers, and backends.
*
*/
+CF_IMPLICIT_BRIDGING_ENABLED
extern CFStringRef __nullable
PMPrinterGetName(PMPrinter printer) AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER;
+CF_IMPLICIT_BRIDGING_DISABLED
/*
@@ -2342,10 +2383,12 @@
* Not appropriate for CUPS filters, drivers, and backends.
*
*/
-extern OSStatus
+CF_IMPLICIT_BRIDGING_ENABLED
+extern OSStatus
PMPrinterGetPaperList(
PMPrinter printer,
CFArrayRef __nullable * __nonnull paperList) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;
+CF_IMPLICIT_BRIDGING_DISABLED
/*
@@ -2523,10 +2566,12 @@
* Not appropriate for CUPS filters, drivers, and backends.
*
*/
-extern OSStatus
+CF_IMPLICIT_BRIDGING_ENABLED
+extern OSStatus
PMPresetCopyName(
PMPreset preset,
CFStringRef __nullable * __nonnull name) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;
+CF_IMPLICIT_BRIDGING_DISABLED
/*
@@ -2599,10 +2644,12 @@
* Not appropriate for CUPS filters, drivers, and backends.
*
*/
-extern OSStatus
+CF_IMPLICIT_BRIDGING_ENABLED
+extern OSStatus
PMPresetGetAttributes(
PMPreset preset,
CFDictionaryRef __nullable * __nonnull attributes) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;
+CF_IMPLICIT_BRIDGING_DISABLED
#pragma mark
@@ -2807,10 +2854,12 @@
* Not appropriate for CUPS filters, drivers, and backends.
*
*/
-extern OSStatus
+CF_IMPLICIT_BRIDGING_ENABLED
+extern OSStatus
PMPaperGetID(
PMPaper paper,
CFStringRef __nullable * __nonnull paperID) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;
+CF_IMPLICIT_BRIDGING_DISABLED
/*
* PMPaperGetPPDPaperName()
@@ -2842,10 +2891,12 @@
* Not appropriate for CUPS filters, drivers, and backends.
*
*/
-extern OSStatus
+CF_IMPLICIT_BRIDGING_ENABLED
+extern OSStatus
PMPaperGetPPDPaperName(
PMPaper paper,
CFStringRef __nullable * __nonnull paperName) AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
+CF_IMPLICIT_BRIDGING_DISABLED
/*
@@ -2879,11 +2930,13 @@
* Not appropriate for CUPS filters, drivers, and backends.
*
*/
-extern OSStatus
+CF_IMPLICIT_BRIDGING_ENABLED
+extern OSStatus
PMPaperCreateLocalizedName(
PMPaper paper,
PMPrinter printer,
CFStringRef __nullable * __nonnull paperName) AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
+CF_IMPLICIT_BRIDGING_DISABLED
/*
* PMPaperGetPrinterID()
@@ -2910,10 +2963,12 @@
* Not appropriate for CUPS filters, drivers, and backends.
*
*/
-extern OSStatus
+CF_IMPLICIT_BRIDGING_ENABLED
+extern OSStatus
PMPaperGetPrinterID(
PMPaper paper,
CFStringRef __nullable * __nonnull printerID) AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
+CF_IMPLICIT_BRIDGING_DISABLED
/*
* PMPaperIsCustom()
@@ -2975,9 +3030,11 @@
* Not appropriate for CUPS filters, drivers, and backends.
*
*/
-extern OSStatus
+CF_IMPLICIT_BRIDGING_ENABLED
+extern OSStatus
PMWorkflowCopyItems(
CFArrayRef __nullable * __nonnull workflowItems) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;
+CF_IMPLICIT_BRIDGING_DISABLED
/*
@@ -3239,7 +3296,7 @@
PMPageFormat __nullable format,
CFStringRef __nullable mimeType,
CFURLRef sourceFileURL,
- CFURLRef destinationFileURL) AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
+ CFURLRef destinationFileURL) DEPRECATED_IN_MAC_OS_X_VERSION_10_13_AND_LATER; //change when on Cheer
@@ -3462,10 +3519,12 @@
* Not appropriate for CUPS filters, drivers, and backends.
*
*/
-extern OSStatus
+CF_IMPLICIT_BRIDGING_ENABLED
+extern OSStatus
PMCopyAvailablePPDs(
PMPPDDomain domain,
CFArrayRef __nullable * __nonnull ppds) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;
+CF_IMPLICIT_BRIDGING_DISABLED
/*
@@ -3495,10 +3554,12 @@
* Not appropriate for CUPS filters, drivers, and backends.
*
*/
-extern OSStatus
+CF_IMPLICIT_BRIDGING_ENABLED
+extern OSStatus
PMCopyLocalizedPPD(
CFURLRef ppd,
CFURLRef __nullable * __nonnull localizedPPD) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;
+CF_IMPLICIT_BRIDGING_DISABLED
/*
@@ -3529,10 +3590,12 @@
* Not appropriate for CUPS filters, drivers, and backends.
*
*/
-extern OSStatus
+CF_IMPLICIT_BRIDGING_ENABLED
+extern OSStatus
PMCopyPPDData(
CFURLRef ppd,
CFDataRef __nullable * __nonnull data) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;
+CF_IMPLICIT_BRIDGING_DISABLED
#pragma mark
@@ -3601,11 +3664,12 @@
* Not appropriate for CUPS filters, drivers, and backends.
*
*/
+CF_IMPLICIT_BRIDGING_ENABLED
extern CGImageRef __nullable
PMCGImageCreateWithEPSDataProvider(
CGDataProviderRef __nullable epsDataProvider,
- CGImageRef epsPreview) AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER;
-
+ CGImageRef epsPreview) DEPRECATED_IN_MAC_OS_X_VERSION_10_13_AND_LATER; //change when on Cheer
+CF_IMPLICIT_BRIDGING_DISABLED
#ifdef __cplusplus
}
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMPrintSettingsKeys.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMPrintSettingsKeys.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMPrintSettingsKeys.h 2026-04-18 22:55:33
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMPrintSettingsKeys.h 2026-05-21 08:34:18
@@ -199,6 +199,9 @@
kPMPageToPaperMappingScaleToFit,
}PMPageToPaperMappingType;
+/* This is an expedience for providing the list of custom papers without an API */
+
+#define kPMCustomPaperListKey CFSTR("com.apple.print.CustomPaperListArray") /* CFArray that holds a list of the user's custom papers */
/* Possible values for the kPMColorMatchingModeKey*/