Hi, I need to launch the Mac equivalent of a Windows 'PrintDlg()' when I click on a button. From the Cocoa documentation, I can see that this is easily done given an NSView/NSWindow using the 'print' message.
Suppose I don't have an NSView/NSWindow. Is there a way to bring up a Print Panel without it? Or do I have to create one and then call print?
Edit: Basically, I have an image (or some external resource) that I would like to print, without displaying it in a window/view.
Suppose I don't have an NSView/NSWindow. Is there a way to bring up a Print Panel without it? Or do I have to create one and then call print?
Edit: Basically, I have an image (or some external resource) that I would like to print, without displaying it in a window/view.