Comment 40 for bug 86426

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Mark Erbaugh, for you on your computer modifying the hard-coded page size and recompiling should serve, but for a distro package I suggest to do something like

page_setup = gtk_page_setup_new ();
paper_size = gtk_paper_size_new (<call function of libpaper to get default paper size>);
print = gtk_print_operation_new ();

Then the paper size from /etc/papersize will be used.

This is still a very quick and dirty hack, as it serves only for people with one printer with their countries standard paper size loaded. For anyone working with more than one paper size a paper size option (in print dialog or in page setup dialog) is needed.