]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
When doing reverse order duplex with first-page-from, put first page options on
authormike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Fri, 14 Dec 2012 19:12:39 +0000 (19:12 +0000)
committermike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Fri, 14 Dec 2012 19:12:39 +0000 (19:12 +0000)
the second page (which will get printed first...)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@10773 7a7537e8-13f0-0310-91df-b6672ffda945

filter/pstops.c

index a3a334597a78513ab4dad9ad9345e196b5d73830..2230a8b6162aade52f77dacd88b0bc73c8701b5c 100644 (file)
@@ -1303,7 +1303,8 @@ copy_page(cups_file_t  *fp,               /* I - File to read from */
 
   if (doc->ap_input_slot || doc->ap_manual_feed)
   {
-    if (doc->page == 1)
+    if ((doc->page == 1 && (!doc->slow_order || !Duplex)) ||
+        (doc->page == 2 && doc->slow_order && Duplex))
     {
      /*
       * First page/sheet gets AP_FIRSTPAGE_* options...