Printing issues



Hi All,

I have used libgnomeprint for a few years and was fully satisfied with
it, but, suddenly, after upgrading to a new Linux distribution, I have
got a problem:

 the first call to gnome print functions give me segmentation fault
 with the following message:

 GThread-ERROR **: file gthread-posix.c: line 135 (): error 'No such process'
 during 'pthread_getschedparam (pthread_self(), &policy, &sched)'

 After some researching it became clear that this error appears only
 if I use a special database library and if I connect to a remote
 database server before the call of gnome print.
 The version of the libgnomeprint, glib and that database library is
 the same as in the previous ( working ) distribution, so it seems that this error
 goes from some other module, used by libgnomeprint.

 I haven't any idea what to do with it ...

 Gnome print list seems don't work already - there isn't any new
 messages since the January 2007, my messages doesn't appears there
 ...

 I have decided to take a look at the GtkPrint engine, but the
 documentation is very limited, only api reference ...
 The only sample file I have found with a help of gtk-app-devel-list
 member is a printing.c from http://svn.gnome.org/viewcvs/gtk%2B/trunk/demos/gtk-demo/
 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 libgnomeprint
  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.

  Any advice is highly appreciated.
  
-- 
Regards,
 Alexander





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]