Re: Printing in evince



Nickolay V. Shmyrev wrote:
> 
> 18.09.08, 19:16, "Marek Kasik" <mkasik redhat com>:
> 
>> Hi all,
>> I would like to change the way in which printing is processed in evince.
>> Evince tries to prepare list of printed pages itself. But sometimes it
>> doesn't do this right (Bug 397225, Bug 547646, Bug 549745, Bug 550125,
>> Bug 455759, + some downstream bugs). It also doesn't implement new
>> features (for example Page ordering).
>> The way I would like to change the evince printing is to implement full
>> GTK+ printing stack. The libgnomeprint support was removed from evince
>> some time ago, so we can leave it whole on GTK+ printing infrastructure.
>> There are also some inconveniences (problems with preview), but I think
>> that it is worthwhile because of future maintenance.
>> What do you think about this?
> 
> Hi Marek, of course you are welcome to participate in Evince development.
> 
> About you proposal, sorry, I don't quite understand, what exact features are going to be implemented?

Main feature would be using of GtkPrintOperation, which will handle
running GtkPrintDialog and sending jobs to server. In present evince
code the GtkPrintDialog is executed directly and pages are prepared in
evince (including "Pages per Sheet", copies, Even/Odd sheets) and send
thorough GtkPrintJob. But there are problems with the prepare. It
doesn't correctly prepare pages when you need to print duplex or
non-standard ordering of pages per sheet. There is also problem with
Even/Odd pages in "Pages per Sheet" mode with more than 1 page.
This can be handled by the Gtk+ print infrastructure itself and you
don't need to have it implemented in evince.

  Thanks

    Marek


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