We are porting from iOS to macOS and need to be able to print PDF documents directly from the app. Below is the relevant method. 

Just don't see how to define the "contextInfo" as the PDFDocument?

```
 - (void)printDocumentWithSettings:(NSDictionary<NSPrintInfoAttributeKey, id>   *)printSettings 
               showPrintPanel:(BOOL)showPrintPanel 
                     delegate:(id)delegate 
             didPrintSelector:(SEL)didPrintSelector 
                  contextInfo:(void *)contextInfo;

  PDFDocument *pdfDoc = [[PDFDocument alloc] initWithURL:url];

```

Sending our user to the AdobePDF viewer to search through the system folders is not a solution. As is typical the Apple Doc is not helpful and many of the macOS samples are up to eight years old!

Any help or alternate solution would be appreciated. 

Thanks,

John