I’ve been working a bit on a printing API for gtk+. Its a highlevel API that integrates cairo, pango and a native print dialogs. Its really easy to get nice printing output, and it will work on all platforms, using native printing. I just made a code drop so that people can look at the APIs and comment on it.
The example code in it is pretty awesome, it actually prints itself. Here is the output pdf.
If you read that pdf you’ll see it produces some other output too. I’m sure interested parties can find that file too.