Re: How to use GtkPrint
- From: "Alexander S.Kresin" <alex belacy belgorod su>
- To: gtk-app-devel-list gnome org
- Subject: Re: How to use GtkPrint
- Date: Mon, 13 Aug 2007 16:44:15 +0400
Thursday, August 09, 2007, 3:15:05 PM, Emmanuele Bassi <ebassi gmail com> wrote:
Doesn't anyone here use GtkPrint ?
EB> gtk-demo includes working code for printing. you should have a look at
EB> it.
EB> http://svn.gnome.org/viewcvs/gtk%2B/trunk/demos/gtk-demo/
Many thanks for a tip.
There really is a demo file printing.c, which gives some idea about
printing concept. But it represents a high level api
GtkPrintOperation, which is based on a special dialog form, so
creation of print context is hidden.
I look for a way to define the printer, print context, etc. manually
from the application code as it was possible with the gnomeprint
library for
1) to avoid extra, unnecessary dialog boxes and appropriate
keyboard/mouse actions of the user;
2) to be possible to print from a console application.
--
Regards,
Alexander
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]