Method
WebKitPrintOperationprint
Declaration [src]
void
webkit_print_operation_print (
WebKitPrintOperation* print_operation
)
Description [src]
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 webkit_print_operation_set_print_settings()
and
webkit_print_operation_set_page_setup(), the default options will be used
and the print job will be sent to the default printer.
The WebKitPrintOperation::finished
signal is emitted when the printing
operation finishes. If an error occurs while printing the signal
WebKitPrintOperation::failed
is emitted before WebKitPrintOperation::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.