<br><br><div class="gmail_quote">On Mon, Jan 28, 2013 at 9:55 PM, Andrew Cowie <span dir="ltr"><<a href="mailto:andrew@operationaldynamics.com" target="_blank">andrew@operationaldynamics.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Mon, 2013-01-28 at 09:06 +0100, Satz Klauer wrote:<br>
<br>
> But: how can I send these data to a printer instead of drawing them<br>
> onto some canvas?<br>
<br>
</div>Or you can get into the GtkPrintOperation code if you're making a user<br>
interface on Linux. You get a Cairo context to draw on there, the same<br>
as other places in GTK.<br>
<a href="http://developer.gnome.org/gtk3/3.6/gtk3-High-level-Printing-API.html#GtkPrintOperation-draw-page" target="_blank">http://developer.gnome.org/gtk3/3.6/gtk3-High-level-Printing-API.html#GtkPrintOperation-draw-page<br>
</a><br></blockquote><div><br></div><div>This is exactly what I'm looking for. Unfortunately I'm not very familar with GTK...so is there a small HOWTO/example code available somewhere that demonstrates how to start printing/invoke this draw_page-function?</div>
<div><br></div><div>Thanks!</div><div><br></div></div><br>