Hello
I want to use some of the Printing APIs, but I’m having trouble finding them.
Have things like PMPrinterPrintWithProvider, PMPrinterPrintWithFile, been
implemented in PyObjC? I can’t find them in ApplicationServices, AppKit, Quartz
or CoreFoundation modules.
Thanks
Ben
_
The following two lines work in Mojave, but flag an error in Catalina:
>>> from AppKit import NSSavePanel
>>> panel = NSSavePanel.savePanel()
The error is:
2019-10-29 18:24:22.275 Python[6577:255233] *** Assertion failure in
+[NSServiceViewController currentAppIsViewService],
/BuildRoot/Librar
I'm converting a lot of python2 scripts that use pyobjc to python3, and having
trouble getting them to work. The problem seems to relate to the Unicode
changes in python3.
Something as simple as supplying a string to method like this:
provider = CGDataProviderCreateWithFilename(filename)
gives