packages gnome-manual-duplex-0.17-pstops.patch
      Pages: < 1 >  DOWNLOAD      
--- gnome-manual-duplex-0.17/gnome-manual-duplex.py.orig	2010-01-15 15:05:25.000000000 +0100
+++ gnome-manual-duplex-0.17/gnome-manual-duplex.py	2010-01-15 15:08:53.000000000 +0100
@@ -189,8 +189,8 @@
 	    if not self.SkipOddPages:
 		# Print out odd pages
 		# print self.filename
-		os.system("pstops 2:0 "
-		    + self.filename + " " + self.tempfile.name)
+		os.system("pstops 2:0 \""
+		    + self.filename + "\" \"" + self.tempfile.name + "\"")
 		self.printdialog.PrintJob = gtkunixprint.PrintJob(
 		    "title",
 		    self.printdialog.get_selected_printer(),
@@ -227,8 +227,8 @@
 	reverse = [ '1', '-1' ]
 	invert = [ '', 'U(1w,1h)' ]
 	os.system("pstops '2:" 
-	    + reverse[(config>>1) & 1] + invert[config&1] + "' "
-	    + self.filename + " " + self.tempfile.name)
+	    + reverse[(config>>1) & 1] + invert[config&1] + "' \""
+	    + self.filename + "\" \"" + self.tempfile.name + "\"")
 	self.printdialog.PrintJob = gtkunixprint.PrintJob(
 	    "title",
 	    self.printdialog.get_selected_printer(),