Re: [gtk-list] fork() with gtk ?



Vanotti bertrand wrote:
> 
> Hello, i'm a new developper with gtk and i wish to use
> something like fork() and execl for printing a document. Is
> a function exist with gtk to do this ? In fact, i realize a
> software which draw plots on a the screen and i want to
> print them. If nothing exist with gtk, someone could give
> me an example of execl using. My print command is "lpr
> -Phpljps" but how use this.
Would using "popen" be a bad solution for this case ?
In this way you can show a progressbar during the "formatting"
but have to process the GUI events.

What is the opinion of the members of this list ?

Thanks in advance for your answers,

Norbert.

-- 
Norbert Bladt		 Payphone Management System Software Development
ascom Autelca AG
Worbstrasse 201		 CH-3073 Guemligen, Switzerland
abladtn@autelca.ascom.ch VOICE: +41 31 999 6552, FAX: +41 31 999 6575



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