print


Description:

public void print ()

Start a print operation using current print settings and page setup.

Start a print operation using current print settings and page setup without showing the print dialog. If either print settings or page setup are not set with set_print_settings and set_page_setup, the default options will be used and the print job will be sent to the default printer. The finished signal is emitted when the printing operation finishes. If an error occurs while printing the signal failed is emitted before finished.

If the app is running in a sandbox, this function only works if printing to a file that is in a location accessible to the sandbox, usually acquired through the File Chooser portal. This function will not work for physical printers when running in a sandbox.

Parameters:

this

a PrintOperation