How is printing done with SwiftUI 2020?

In the original SwiftUI, you still used NSWindow and friends, so the older techniques would work. But with SwiftUI 2 taking over all of the command reception and handling, where is printing supposed to be recognized (and the PDF or whatever gets sent back)?