Re: Printing of vector graphics?

Satz Klauer <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <CAJoPetr2X9cGdJ=xc3yyEANtEW7Az4sV7SDtRj5ncfiLobhAqA@mail.gmail.com>
Just in case somebody else is looking for a similar solution:

http://people.gnome.org/~alexl/presentations/guadec2006-printing.pdf

contains all required information.

On Tue, Jan 29, 2013 at 9:02 AM, Satz Klauer <[email protected]>wrote:

>
>
> On Mon, Jan 28, 2013 at 9:55 PM, Andrew Cowie <
> [email protected]> wrote:
>
>> On Mon, 2013-01-28 at 09:06 +0100, Satz Klauer wrote:
>>
>> > But: how can I send these data to a printer instead of drawing them
>> > onto some canvas?
>>
>> Or you can get into the GtkPrintOperation code if you're making a user
>> interface on Linux. You get a Cairo context to draw on there, the same
>> as other places in GTK.
>>
>> http://developer.gnome.org/gtk3/3.6/gtk3-High-level-Printing-API.html#GtkPrintOperation-draw-page
>>
>>
> 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?
>
> Thanks!
>
>
>

-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.