pub fn print(window: &NSWindow, title: &str, view: impl View)Expand description
Prints view laid out at the page’s width, across as many pages as it
needs, with the Print sheet on window (printer, copies, Save as PDF).
The view is built for printing on its own: text, pictures, symbols, charts, backgrounds and borders print; shadows and materials don’t.