for(t=1;t<=pdf_doc->num_pages;t++) {
if(!global_page_range || is_in_range(t, global_page_range)) {
i->doc->displayPage((OutputDev*)io, t, zoom, zoom, /*rotate*/0, /*usemediabox*/true, /*crop*/true, /*doLinks*/(int)1);
for(t=1;t<=pdf_doc->num_pages;t++) {
if(!global_page_range || is_in_range(t, global_page_range)) {
i->doc->displayPage((OutputDev*)io, t, zoom, zoom, /*rotate*/0, /*usemediabox*/true, /*crop*/true, /*doLinks*/(int)1);