Bug 103276

Summary: When printing, multiple pages per printed page doesn't work
Product: [Unmaintained] kdeprint Reporter: Alexander Wigen <bugzilla>
Component: generalAssignee: KDEPrint Devel Mailinglist <kde-print-devel>
Status: CLOSED DUPLICATE    
Severity: normal CC: jlayt, rafael.rodriguez.tf
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alexander Wigen 2005-04-05 11:15:20 UTC
Version:            (using KDE 3.4.0, Gentoo)
Compiler:          gcc version 3.3.5 (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)
OS:                Linux (i686) release 2.6.11

Im trying to get Multiple Pages per Sheet to work, here are two methods that do not work;

--Using kde's "Multiple Pages per Sheet" functions
 How to reproduce:
 Launch print in a application (kpdf)
 In print dialog:
 Properties(for printer)->Pages per Sheet = 4

 Results:
 Nothing happens, one page on each sheet


--Using ps filter:

 How to reproduce:
 Launch print in a application (kpdf)
 In print dialog:
 Properties(for printer)->Filters->Add Filter->Multiple Pages per Sheet Filter
 Select filter, set "Pages per sheet" to 4
 Back to print dialog, select preview, click print

 Result:
 In output pages will be in this order:
 3 1
 4 2
 in stead of
 1 2
 3 4
 or
 1 3
 2 4
Comment 1 Kurt Pfeifle 2005-04-05 12:18:41 UTC
First of all: with PDFs that "n-up" feature doesnt always work reliably (not even on Windows). [The reason is, that sometimes the driver/program that generates the PostScript print file doesnt succeed -- or is not configured -- to produce a 'DSC' conformant file. (DSC = Document Structuring Conventions, a standardized way to structure PostScript files).

I tested with a PDF file that works.

Starting with the first alternative you used, this gives the desired output to me:
  1  2
  3  4

The second alternative produces the same result...

No problem here....


Things to check:
---------------

1. Do make sure that you do not have activated *both* of the alternative 
   ways to prodce n-up at the same time.

2. Please post the output of this command: "lpoptions -p [printername]". 
   Background: CUPS understands commandline options such as 
   "-o number-up-layout=tbrl" (this would sort the n-up layouting to 
   arrange pages like you are seeing).

3. Try to print the PDF from the commandline like this:
   "lp -d [printername] -o number-up=4 -o number-up-layout=lrtb /the/PDF/file"
   Background: this procedure will bye-pass all of KDEPrint and test 
   the PDF works at all for n-up printing.

4. If it works from the commandline, you can insert these working options
   into the version 3.4 kprinter dialog: use the "expanded" dialog -->
   "Additional tags" tab. Fill in the options and print:
   ------------------+---------
   Name              | Value
   ==================+=========
   number-up         | 4
   ------------------+---------
   number-up-layout  | lrtb
   ------------------+---------
   Make sure you also checkout the "WhatsThis"-help for this tab. It 
   explains all widgets and actions in kprinter, and how they map to
   CUPS commandline options

Cheers,
Kurt
   
Comment 2 Rafael Rodriguez 2005-04-17 23:26:23 UTC
I have the same problems, and seems like kprinter has nothing to do with it. The only way of printing in the correct order from command line is:

lp -d [printer] -o number-up=4 -o number-up-layout=lrbt file.pdf
Comment 3 Maciej Mrozowski 2005-04-25 23:51:49 UTC
same problem with kde-3.4
but printing multiple pages per sheet doesn't work at all (even in preview) - even when printing in kwrite or any other kde util, so maybe kprinter has something to do with that
Comment 4 Pawel Pabian 2005-06-18 00:14:32 UTC
I confirm, that Multiple pages per sheet (filter) won't work in some cases. for example when i print from OpenOffice i always get one page per sheet. printout from other apps, such as acroread, is ok.
Comment 5 Cristian Tibirna 2005-09-27 07:24:07 UTC
M. Wigen, did you try the suggestions in the comment #1 and #2? Do you succeed to correctly print (in the right order) using another printing system? Is the printing order correct when using another application than kpdf?

Thanks.
Comment 6 Kurt Pfeifle 2007-01-13 09:08:07 UTC
Timeout from reporter who didn't respond to requests for more feedback. also duplicate of bug 107936.

*** This bug has been marked as a duplicate of 107936 ***
Comment 7 John Layt 2008-12-31 18:26:44 UTC
Closing old Resolved status bug.