+ if (!bitmap.Ok()) return;
+
+#if 0
+ // TODO do something clever here
+ if (bitmap.HasPixbuf())
+ {
+ }
+ else
+#endif
+ {
+ wxImage image = bitmap.ConvertToImage();
+
+ if (!image.Ok()) return;
+
+ gnome_print_moveto (m_gpc, XLOG2DEV(x), YLOG2DEV(y) );
+ gnome_print_rgbimage( m_gpc, (guchar*) image.GetData(), image.GetWidth(), image.GetHeight(), image.GetWidth()*3 );
+ }