Re: [Gnome-print] Tutorial? API Reference?
- From: Lauris Kaplinski <lauris ximian com>
- To: Andrej Andrejko <ai heavy-ind com>
- Cc: gnome-print helixcode com
- Subject: Re: [Gnome-print] Tutorial? API Reference?
- Date: 06 Feb 2001 16:00:59 +0200
Hello!
AFAIK there is no tutorial available.
If you know PostScript basics, you need only little more. Most gnome-print methods
are functionally identical to PostScript operators.
Things that you need in addition:
1. Create GnomePrintContext initially, Use GnomePrintDialog, get GnomePrinter and
create GnomePrintContext with gnome_print_context_new. Or use GnomePrintMaster
if you need reasonable handling of multiple copies.
2. GnomeFont for text - use GnomeFontDialog and/or gnome_font_new_closest.
3. gnome_print_show accepts UTF8 encoded text - if your application uses some
other encoding internally, you have to transcode manually.
4. Every page has to start with gnome_print_beginpage and end with gnome_print_showpage
There shouldn't be any limitations to job size. Currently most jobs are sent
directly to lpr or written to file, so gnome-print even does not have to handle these.
Exception is print preview and some other contexts, that have to use in-memory
representations. There is no artifical limits, but, of course, print preview
may become slow with VERY complex page layouts.
Btw. many things will change for gnome 2.0, but that's future.
Lauris
On 05 Feb 2001 23:49:43 -0700, Andrej Andrejko wrote:
> Hi.
>
> Can anyone point me to a reference on using gnome-print? I was unable to find any
> documentation on developer.gnome.org/doc/.
>
> Is gnome-print capable of handling large print jobs? (on the order of 800 mb?)
>
> Thanks,
> Andrej
>
> _______________________________________________
> Gnome-print maillist - Gnome-print@helixcode.com
> http://lists.helixcode.com/mailman/listinfo/gnome-print
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]