diff --git a/norka/services/export.py b/norka/services/export.py index 864a908..b33f56d 100644 --- a/norka/services/export.py +++ b/norka/services/export.py @@ -117,6 +117,7 @@ def __init__(self, path: str, document: Document): def on_load_changed(self, webview: WebKit2.WebView, event: WebKit2.LoadEvent): # When html is fully loaded then setup PrintOperation and print to PDF. + print('PDFPrinter event: ', event) if event == WebKit2.LoadEvent.FINISHED: print_settings = Gtk.PrintSettings() print_settings.set(Gtk.PRINT_SETTINGS_OUTPUT_BASENAME, self.basename)