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_
I just want to draw a bunch of lines - simple polygons, no filling...
On Mon, Oct 14, 2013 at 7:55 PM, Chris Vine wrote:
> On Mon, 14 Oct 2013 19:34:53 +0200
> Satz Klauer wrote:
>
>> Hi,
>>
>> I try to print some vector data using GTK/Cairo. Unfortunately my
>
Hi,
I try to print some vector data using GTK/Cairo. Unfortunately my
printer only produces empty pages, means there is no print operation,
the paper sheets are just moved.
That's how I'm initialising everything:
GtkPrintOperation *op;
op = gtk_print_operation_new();
gtk_print_operation_set_all
I want to print out some vectordata using GTK/Linux. That's what I already have:
GtkPrintOperation *op;
op = gtk_print_operation_new();
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);
if (
Hi,
I plan to print out some vector data using the GTK printing system.
I already found the API description but what I'm missing is a general
overview that describes what has to be used in which order to send such
graphics to a printer.
So my question: is there a simple printing example code or