Starts the printing process. Provide a parent window, a user-defined wxPrintout object which controls the printing of a document, and whether the print dialog should be invoked first.
Print could return FALSE if there was a problem initializing the printer device context (current printer not set, for example) or the user cancelled printing. Call wxPrinter::GetLastError to get detailed information about the kind of the error.