<br><br><div class="gmail_quote">2008/12/2 Gilles Caulier <span dir="ltr"><<a href="mailto:caulier.gilles@gmail.com">caulier.gilles@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c"><br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Angelo Naselli</b> <span dir="ltr"><<a href="mailto:anaselli@linux.it" target="_blank">anaselli@linux.it</a>></span><br>
Date: 2008/12/2<br>
Subject: Re: Printing in kde 4<br>To: Gilles Caulier <<a href="mailto:caulier.gilles@gmail.com" target="_blank">caulier.gilles@gmail.com</a>><br><br><br>luned́ 01 dicembre 2008 alle 16:06, Gilles Caulier ha scritto:<br>

<div>> yes, sound like similar. To be clear, original KDE3 printing code been<br>
> inspired from Kuickshow code plus later your personal code inspired from<br>
> GWenview. Kuickshow has already ported to KDE4 here :<br>
><br>
> <a href="http://websvn.kde.org/trunk/extragear/graphics/kuickshow/src/printing.h?revision=737039&view=markup" target="_blank">http://websvn.kde.org/trunk/extragear/graphics/kuickshow/src/printing.h?revision=737039&view=markup</a><br>


> <a href="http://websvn.kde.org/trunk/extragear/graphics/kuickshow/src/printing.cpp?revision=888239&view=markup" target="_blank">http://websvn.kde.org/trunk/extragear/graphics/kuickshow/src/printing.cpp?revision=888239&view=markup</a><br>


><br>
</div>That is what I/we have to do in digikam.<br>
<br>
Unfortunately that can't solve our problem in printwizard :/<br>
<br>
To udnderstand what i mean, you can consider the problem was already present in kde3, e.g. we configure<br>
things and pass to [K|Q]Printer data, that can be changed and can override printwizard choices.<br>
The right thing should be use Printer interface info into wizard. Imagine to choose page size from QPrintDialog<br>
and use it to choose printwizard layout page (for instance A4-> 8 photos per page).<br>
And that's why i'd like to know how to get setting changhes from QPrintDialog or similar as soon as they are<br>
changed.<br>
But at the moment we have another issue, e.g. if i choose A6 (for instance) from printwizard, and i set it<br>
up on QPrintDialog, it is not shown, you see old settings. If you read (get methods) data back, they seem to<br>
be set, but not shown, and if you change anything on QPrintDialog you loose your settings. I mean touch<br>
margins for instance and you loose pagesize settings...</div></div></div></blockquote><div><br>And why not to take a look in gutenpint ?<br><br>In Mandriva, i can see 2 developement packages : libgutenprint2 and libgutenprint2-devel<br>
<br>under gimp, this tool is very fast and work very well. i thinks it can be easy to use it in your plugin...<br><br><a href="http://gimp-print.sourceforge.net/">http://gimp-print.sourceforge.net/</a><br><br>Gilles</div>
</div><br>