[Kde-print-devel] [Bug 143342] Fails to print pages in proper order

Kurt Pfeifle pfeifle at kde.org
Thu Mar 22 19:41:31 CET 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=143342         
pfeifle kde org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WORKSFORME



------- Additional Comments From pfeifle kde org  2007-03-22 19:41 -------
Olivier,

when you use the n-up function in the KDEPrint dialog, n-upping is done by "pre-filters". KDEPrint uses the PostScript it received from the application and hands it to an external prefilter "psnup" to do the layouting before it is sent off to CUPS.

There are two other ways to achieve n-up: 

  --> use the commandline and send the PDF from there using the correct CUPS 
      options

  --> use KDEPrint, but *DON'T* do the n-up in the KDEPrint GUI (leave it at 
      "1") and enter the parameters in the "Additional Tags" tab.


CUPS commandline
----------------

For achieving (mostly) any order in layout you may desire for n-up printing (not only of PDFs, but any format), use the CUPS commandline options:

    * -o number-up-layout=lrtb   : Left to right, top to bottom (default)
    * -o number-up-layout=lrbt   : Left to right, bottom to top
    * -o number-up-layout=rltb   : Right to left, top to bottom
    * -o number-up-layout=rlbt   : Right to left, bottom to top
    * -o number-up-layout=tblr   : Top to bottom, left to right
    * -o number-up-layout=tbrl   : Top to bottom, right to left
    * -o number-up-layout=btlr   : Bottom to top, left to right
    * -o number-up-layout=btrl   : Bottom to top, right to left

To achieve your desired layout of

   1 3
   2 4

use a commandline like this for CUPS:

  lp -d <printername> -o number-up=4 -o number-up-layout=tblr


KDEPrint
--------

In KPrinter, there is no direct GUI for this (yet). But you can pass any commandline options to CUPS in the "Additional Tags" tab, including the n-up ones. That is, make sure KDEPrint runs *no* prefilter ("Pages per Sheet: 1"), and make the 2 lines on "Additional Tags" look like:

   +------------------+-------+
   | number-up        |  4    |
   +------------------+-------+
   | number-up-layout | tblr  |
   +------------------+-------+

This should do what you want to do.

See also comments in

  bug 108484
  bug 107936
  bug 97669


More information about the Kde-print-devel mailing list