Given that I had a really hard time finding a simple example on how to use libgnomeprint and libgnomeprintui, here is a little hello-world type example for it.
libgnomeprintexample-.tar.gz. (Yes, it’s quickly thrown together so there’s not even a version).
Just type ./configure && make && ./libgnomeprintexample
And let’s hope this will be useful to someone :-)