RE: Printing multiple copies not working in Windows

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

 



Also, I hit a similar problem where setting page ranges to print was handled by GTK’s Linux printing API, but not by that for Windows, and so I had to write code to take care of that in the Windows version. It calls gtk_print_settings_get_page_ranges from the “begin-print” handler.

 

I thought about doing the same for printing multiple copies collated, but gtk_print_settings_get_n_copies and gtk_print_settings_get_collate don’t seem to be working (in Windows anyway). Calling those from the “begin-print” handler they always return 1 and 0 respectively, no matter what I selected in the print dialog.

 

Ian

 

From: gtk-list-bounces@xxxxxxxxx [mailto:gtk-list-bounces@xxxxxxxxx] On Behalf Of Ian Puleston
Sent: Monday, April 09, 2012 5:00 PM

Hi,

 

I have an app that uses GtkPrintOperation and I’m finding that although printing multiple copies of a document un-collated works OK, printing them collated does not work in Windows. When I select to print 2 copies un-collated my “draw-page” handler gets called with pages 0, 0, 1, 1, 2, 2, … etc., as expected, but when I select to print 2 copies collated it gets called with pages 0, 1, 2, 3, … up to the last, and then that does not repeat so only one copy is printed.

 

In Linux printing from the same app works OK and when I select to print 2 copies collated, my “draw-page” handler gets called with pages 0, 1, 2, 3, … up to the last, then it goes back to page 0 and the sequence repeats for the 2nd copy.

 

This is with GTK 2.24.10. Anyone know anything about this problem?

 

Ian

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux