Re: [Gnome-print] Problem printing pixbuf
- From: Lauris Kaplinski <lauris ximian com>
- To: Scott Gifford <sgifford tir com>
- Cc: gnome-print helixcode com
- Subject: Re: [Gnome-print] Problem printing pixbuf
- Date: 14 Apr 2001 02:17:56 +0200
Hello!
On 12 Apr 2001 07:11:56 -0400, Scott Gifford wrote:
> I'm new to gimp-print, so please forgive me if this is a silly
> question. :)
It should be in FAQ - but there isn't FAQ ;-(
> gnome_print_moveto(pc,0,h*72.0/300.0);
> gnome_print_pixbuf(pc, pixbuf);
PostScript (and gnome-print) render all bitmaps to user-space
area 0,0 - 1,1
So you should do:
gnome_print_gsave (pc)
gnome_print_scale (pc, width, height)
gnome_print_pixbuf (pc, pixbuf)
gnome_print_grestore (pc)
Well - if that does not work, tellme , and I'll cut'n'paste some real
code from somewhere.
Best wishes,
Lauris Kaplinski
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]