Printing pdfDocument

I’m trying to find the best way to print a pdfDocument object.
I’m not seeing an obvious way.

Suggestions?

Search in the Forum ?

Example found:

Yes, it is old.

Search link:
https://forum.xojo.com/search?q=%20Printing%20pdf

That has nothing to do with PDFDocument, the new class for writing PDFs that didn’t exist at the time of that thread.

Thanks for pointing out the distinction.

Have you searched the examples that come with Xojo?
Not sure but maybe there is something that can help

Sorry… I was thinking the press on the space bar did not worked…