diff -Naur evince-2.22.0-old/shell/ev-jobs.c evince-2.22.0/shell/ev-jobs.c
--- evince-2.22.0-old/shell/ev-jobs.c	2008-03-27 22:26:23.000000000 +0100
+++ evince-2.22.0/shell/ev-jobs.c	2008-03-27 22:24:01.000000000 +0100
@@ -722,7 +722,8 @@
 		  gint           pages_per_sheet,
 		  gint           copies,
 		  gdouble        collate,
-		  gdouble        reverse)
+		  gdouble        reverse,
+		  GtkPrintDuplex duplex)
 {
 	EvJobPrint *job;
 
@@ -748,7 +749,8 @@
 	job->copies = copies;
 	job->collate = collate;
 	job->reverse = reverse;
-	
+	job->duplex = duplex;
+
 	return EV_JOB (job);
 }
 
@@ -789,22 +791,7 @@
 	return MIN (max_page, last_page);
 }
 
-static gboolean
-ev_print_job_print_page_in_set (EvJobPrint *job,
-				gint        page)
-{
-	switch (job->page_set) {
-	        case EV_PRINT_PAGE_SET_EVEN:
-			return page % 2 == 0;
-	        case EV_PRINT_PAGE_SET_ODD:
-			return page % 2 != 0;
-	        case EV_PRINT_PAGE_SET_ALL:
-			return TRUE;
-	}
-
-	return FALSE;
-}
-
+// allocate and fill page_list
 static gint *
 ev_job_print_get_page_list (EvJobPrint *job,
 			    gint       *n_pages)
@@ -815,27 +802,12 @@
 
 	max_page = ev_document_get_n_pages (EV_JOB (job)->document) - 1;
 
+	// compute number of pages
 	for (i = 0; i < job->n_ranges; i++) {
-		gint rsize;
-		gint start, end;
-
-		if (job->ranges[i].start > max_page)
-			continue;
-		
-		start = job->ranges[i].start + 1;
-		end = job->ranges[i].end <= max_page ? job->ranges[i].end + 1 : max_page + 1;
-		rsize = end - start + 1;
-
-		switch (job->page_set) {
-		        case EV_PRINT_PAGE_SET_EVEN:
-				pages += start % 2 == 0 ? (rsize / 2) + (rsize % 2) : (rsize / 2);
-				break;
-		        case EV_PRINT_PAGE_SET_ODD:
-				pages += start % 2 != 0 ? (rsize / 2) + (rsize % 2) : (rsize / 2);
-				break;
-		        default:
-				pages += rsize;
+		for (j = job->ranges[i].start; j <= job->ranges[i].end; j++) {
+			if (j > max_page)
 				break;
+			pages++;
 		}
 	}
 
@@ -844,6 +816,7 @@
 	if (pages == 0)
 		return NULL;
 
+	// fill page_list
 	page_list = g_new (gint, pages);
 
 	page = 0;
@@ -851,9 +824,7 @@
 		for (j = job->ranges[i].start; j <= job->ranges[i].end; j++) {
 			if (j > max_page)
 				break;
-		
-			if (ev_print_job_print_page_in_set (job, j + 1))
-				page_list[page++] = j;
+			page_list[page++] = j;
 		}
 	}
 
@@ -871,7 +842,7 @@
 	gint                   n_pages;
 	gint                   last_page;
 	gint                   first_page;
-	gint                   i, j;
+	gint                   i;
 	gchar                 *filename;
 	
 	g_return_if_fail (EV_IS_JOB_PRINT (job));
@@ -909,7 +880,7 @@
 	fc.last_page = MAX (first_page, last_page);
 	fc.paper_width = job->width;
 	fc.paper_height = job->height;
-	fc.duplex = FALSE;
+	fc.duplex = job->duplex;
 	fc.pages_per_sheet = MAX (1, job->pages_per_sheet);
 
 	rc = ev_render_context_new (0, 0, 1.0);
@@ -917,38 +888,75 @@
 	ev_document_doc_mutex_lock ();
 	ev_file_exporter_begin (EV_FILE_EXPORTER (document), &fc);
 
+	// odd/even: it refers to the pages to be printed, not to the pages in the doc
+	//   (they are different if there are several pages per sheet); this allows
+	//   someone to print all odd pages, put the same paper in the printer again
+	//   and print all the even pages on the back of these sheets; therefore,
+	//   odd/even in duplex mode has no sense
+	// non-collate N copies of a document in duplex mode: prints 1/2 1/2 3/4 3/4 etc.,
+	//   i.e. the leafs (recto-verso), and not the pages, are collated or not
+	// reverse: here it does never start with a blank page.  As I do not know the
+	//   usefullness of reverse, there may be a problem with reverse and odd/even:
+	//   if there are 2 odd and and 1 even pages, should reverse even start with
+	//   a blank page or not?
+	// page is between 0 and n_pages-1
+	// n_pages is the number of pages to be printed (odd AND even, no matter what
+	//   the user chose)
+	// odd/even in duplex mode has no sense, I suppose that the user has
+	//   inadvertently set the duplex mode and I reset it
+	if (job->page_set != EV_PRINT_PAGE_SET_ALL)
+		job->duplex = GTK_PRINT_DUPLEX_SIMPLEX;
 	for (i = 0; i < job->copies; i++) {
 		gint page, step;
-		gint n_copies;
-		
+		gint n_copies, leaf;
+
+		leaf = 0;
 		step = job->reverse ? -1 * job->pages_per_sheet : job->pages_per_sheet;
-		page = job->reverse ? (n_pages / job->pages_per_sheet) * job->pages_per_sheet  : 0;
-		n_copies = job->collate ? job->copies : 1;
+		page = job->reverse ? ((n_pages - 1) / job->pages_per_sheet) * job->pages_per_sheet : 0;
+		n_copies = job->collate ? 1 : job->copies;
 
 		while ((job->reverse && (page >= 0)) || (!job->reverse && (page < n_pages))) {
-			gint k;
-
-			ev_file_exporter_begin_page (EV_FILE_EXPORTER (document));
-			
-			for (j = 0; j < job->pages_per_sheet; j++) {
-				gint p = page + j;
-				
-				if (p < 0 || p >= n_pages)
-					break;
+			leaf++;
+			if (job->page_set == EV_PRINT_PAGE_SET_ALL
+				|| (job->page_set == EV_PRINT_PAGE_SET_EVEN && leaf % 2 == 0)
+				|| (job->page_set == EV_PRINT_PAGE_SET_ODD && leaf % 2 != 0)) {
 
-				ev_render_context_set_page (rc, page_list[p]);
+				gint j, k;
 
 				for (k = 0; k < n_copies; k++) {
-					ev_file_exporter_do_page (EV_FILE_EXPORTER (document), rc);
+					// print page (on one side)
+					ev_file_exporter_begin_page (EV_FILE_EXPORTER (document));
+					for (j = 0; j < job->pages_per_sheet; j++) {
+						gint p = page + j;
+						if (p < 0 || p >= n_pages)
+							break;
+						ev_render_context_set_page (rc, page_list[p]);
+						ev_file_exporter_do_page (EV_FILE_EXPORTER (document), rc);
+					}
+					ev_file_exporter_end_page (EV_FILE_EXPORTER (document));
+
+					// print verso too, if duplex
+					if (job->duplex != GTK_PRINT_DUPLEX_SIMPLEX) {
+						page += step;
+						ev_file_exporter_begin_page (EV_FILE_EXPORTER (document));
+						for (j = 0; j < job->pages_per_sheet; j++) {
+							gint p = page + j;
+							if (p < 0 || p >= n_pages)
+								break;
+							ev_render_context_set_page (rc, page_list[p]);
+							ev_file_exporter_do_page (EV_FILE_EXPORTER (document), rc);
+						}
+						ev_file_exporter_end_page (EV_FILE_EXPORTER (document));
+						page -= step;
+					}
 				}
 			}
-
-			ev_file_exporter_end_page (EV_FILE_EXPORTER (document));
-
 			page += step;
+			if (job->duplex != GTK_PRINT_DUPLEX_SIMPLEX)
+				page += step;
 		}
 
-		if (job->collate)
+		if (!job->collate)
 			break;
 	}
 
diff -Naur evince-2.22.0-old/shell/ev-jobs.h evince-2.22.0/shell/ev-jobs.h
--- evince-2.22.0-old/shell/ev-jobs.h	2008-03-27 22:26:19.000000000 +0100
+++ evince-2.22.0/shell/ev-jobs.h	2008-03-27 16:00:33.000000000 +0100
@@ -227,6 +227,7 @@
 	gint pages_per_sheet;
 	gboolean collate;
 	gboolean reverse;
+	GtkPrintDuplex duplex;
 	gdouble width;
 	gdouble height;
 };
@@ -302,7 +303,8 @@
 					   gint             pages_per_sheet,
 					   gint             copies,
 					   gdouble          collate,
-					   gdouble          reverse);
+					   gdouble          reverse,
+					   GtkPrintDuplex   duplex);
 void            ev_job_print_run          (EvJobPrint      *print);
 
 G_END_DECLS
diff -Naur evince-2.22.0-old/shell/ev-window.c evince-2.22.0/shell/ev-window.c
--- evince-2.22.0-old/shell/ev-window.c	2008-03-27 22:25:59.000000000 +0100
+++ evince-2.22.0/shell/ev-window.c	2008-03-27 22:31:40.000000000 +0100
@@ -2213,6 +2213,7 @@
 	gint           pages_per_sheet;
 	gboolean       collate;
 	gboolean       reverse;
+	GtkPrintDuplex duplex;
 	gdouble        scale;
 	gint           current_page;
 	gdouble        width;
@@ -2318,7 +2319,8 @@
 	copies = gtk_print_settings_get_n_copies (window->priv->print_settings);
 	collate = gtk_print_settings_get_collate (window->priv->print_settings);
 	reverse = gtk_print_settings_get_reverse (window->priv->print_settings);
-	
+	duplex = gtk_print_settings_get_duplex (window->priv->print_settings);
+
 	window->priv->print_job = ev_job_print_new (window->priv->document,
 						    file_format ? file_format : "ps",
 						    width, height,
@@ -2326,7 +2328,7 @@
 						    page_set,
 						    pages_per_sheet,
 						    copies, collate,
-						    reverse);
+						    reverse, duplex);
 	
 	g_signal_connect (window->priv->print_job, "finished",
 			  G_CALLBACK (ev_window_print_job_cb),
