The action parameter to gtk_print_operation_run() determines what action the print operation should perform.
action
Export to a file. This requires the export-filename property to be set.
Show the print preview.
Start to print without showing the print dialog, based on the current print settings.
Show the print dialog.
The
action
parameter to gtk_print_operation_run() determines what action the print operation should perform.