Sent when the user starts up the application on the command line with the -NSPrint option.
Original signature is '- (BOOL)application:(NSApplication *)theApplication printFile:(NSString *)filename'
Available in Mac OS X v10.0 and later.

C# | Visual Basic | Visual C++ |
public event NSApplication..::..ApplicationPrintFileEventHandler ApplicationPrintFile
Public Event ApplicationPrintFile As NSApplication..::..ApplicationPrintFileEventHandler
public: event NSApplication..::..ApplicationPrintFileEventHandler^ ApplicationPrintFile { void add (NSApplication..::..ApplicationPrintFileEventHandler^ value); void remove (NSApplication..::..ApplicationPrintFileEventHandler^ value); }

YES if the file was successfully printed or NO if it was not.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)