Show printing dialogue
- From: Satz Klauer <satzklauer googlemail com>
- To: gtk-app-devel-list gnome org
- Subject: Show printing dialogue
- Date: Tue, 22 Oct 2013 08:39:56 +0200
Hi,
currently I'm using following code to initialise for printing:
GtkPrintOperation *op;
op = gtk_print_operation_new();
gtk_print_operation_set_allow_async(op,TRUE);
gtk_print_operation_set_n_pages(op, 1);
gtk_print_operation_set_unit (op,GTK_UNIT_POINTS);
g_signal_connect (op, "draw_page", G_CALLBACK(draw_page), NULL);
gtk_print_operation_run (op, GTK_PRINT_OPERATION_ACTION_PRINT,NULL, NULL);
This works fine with default printer and its default settings. But how
can I tell GTK to open a print dialogue where user can choose a
different printer and change print parameters?
Thanks!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]