Re: printing problem
- From: stian nixia no
- To: "abhi rocks" <badsep11 yahoo com>
- Cc: gtk-app-devel-list <gtk-app-devel-list gnome org>, gtk-list <gtk-list gnome org>
- Subject: Re: printing problem
- Date: Thu, 12 May 2005 15:08:25 +0200 (CEST)
> hi
>
> I was wanting to divide my page in two columns. One
> column with images and the other with text. Could
> someone give me an idea of how to do this. I have been
> trying libgnomeprint library.
>
> Printing a char * in multiline and restricted to a
> certain column of the page is my main problem. Any
> suggestions.
Since you use gnomeprint, I understand that you want to print this stuff out.
pango_layout_set_width() is what you want to use. Something like this
perhaps:
(width, margin_left and margin_right comes from gnome_print_config)
pango_layout_set_width (pango_layout, (width - margin_left - margin_right)
* PANGO_SCALE / 2);
Stian Skjelstad
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]