NSPrintOperationMBS from pdf

I’m trying to replace my old printing using CPMPrintSessionMBS with NSPrintOperationMBS. But how do I do this? I already have pdfs and simply want to show the print dialog for those. However, the examples print from a TextArea or a HtmlViewer.

Check the example here:

PDFKit printing goes by opening PDFDocumentMBS and asking there for PrintOperation.
This gives the NSPrintOperationMBS to print.

Thanks! Again one step for 64bit.