Bug 107634

Summary: 8 pages per sheet - incorrect page sizes
Product: [Unmaintained] kdeprint Reporter: Pawel Pabian <spamfuckers>
Component: generalAssignee: KDEPrint Devel Mailinglist <kde-print-devel>
Status: CLOSED WORKSFORME    
Severity: normal CC: jlayt
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Pawel Pabian 2005-06-18 00:01:02 UTC
Version:            (using KDE KDE 3.4.1)
Installed from:    Gentoo Packages
Compiler:          gcc (GCC) 3.3.5-20050130 (Gentoo 3.3.5.20050130-r1, ssp-3.3.5.20050130-1, pie-8.7.7.1)  CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -fforce-addr -fprefetch-loop-arrays -ffast-math -falign-functions=64 -falign-loops=5 -falign-jumps=5" 
OS:                Linux

when i print 8 pages per sheet top pages have incorrect sizes.

pages order:

--- A4 sheet ---
[5] [1]
[6] [2]
[7] [3]
[8] [4]
----------------

let's assume one page looks like this:

+------+
| ABC  |
|ABCDEF|
+------+

it's a presentation slide with two textboxes that contain 'ABC' and 'ABCDEF' letters.

now printed document looks like:

(bottom margin side)
+-,,,--+-,,,--+
|ABCDEF|ABCDEF|
+------+------+
| ABC  | ABC  |
|ABCDEF|ABCDEF|
+------+------+
| ABC  | ABC  |
|ABCDEF|ABCDEF|
+------+------+
| ABC  | ABC  |
|ABCDEF|ABCDEF|
+------+------+
(top margin side)

- borders shows, that pages 1 and 5 have different height. in my case the difference is 1cm.
- content of pages 1 and 5 weren't resized. textboxes are over border lines, i don't know how it's possible. letters are cut in half by printer bottom margin.
- i was printing from KPDF and margin settings were absolutely ignored. also 'Save' button seems to be not working at all - settings were abandoned after another KPDF opening.
- i was using 'multiple pages per sheet' filter (pages: 8, border: 0/1, margins:0-10)

info (from gentoo emerge, sorry):
[ebuild   R   ] net-print/hpijs-1.7.1
[ebuild   R   ] app-text/psutils-1.17
[ebuild   R   ] app-text/ghostscript-7.07.1-r9

printer info (from ptal-init for HP printers):

Currently defined device names ([*]=default):
    "mlc:par:PSC_500"
        Model is "PSC 500".
        Serial number is "xxxxxxxxxxxx".
        Parallel-port base address is "0x378".

PPD taken from linuxprinting.

i don't know if it's kdeprint or ghostscript bug.
Comment 1 Pawel Pabian 2005-06-18 00:17:11 UTC
ah, i forgot:

- i'm using CUPS
[ebuild   R   ] net-print/cups-1.1.23-r3

- pdf printer generate document with pages upside-down :((

Comment 2 Michael Goffioul 2005-06-20 10:43:40 UTC
The best is to try to mimic what kdeprint is doing:
- print from KPDF to a PS file, without any filter
- process the file with psnup utility to put 8 pages on 1 sheet
- print the result with lpr utility.
At each step you can check the result and see where the problem appears. Do you have the same problem with another KDE app, for example using konqueror? There have been a lot of similar problems reported before, and all of them occured in kpdf.

Michael.
Comment 3 Cristian Tibirna 2005-08-22 22:02:04 UTC
UNCONFIRMED (batch reassigning messed this)
Comment 4 Cristian Tibirna 2005-09-27 07:42:08 UTC
Waiting for answer to comment #2.
Comment 5 Kurt Pfeifle 2007-01-09 01:06:47 UTC
Feedback timeout [as per Cristian's request at 2005-09-27 07:42].
Also WORKSFORME. 
Closing this bug now. 

Pawel, please feel free to re-open this report if the issue still bugs you with KDE 3.5.5.
Comment 6 John Layt 2008-12-31 18:41:05 UTC
Closing old Resolved status bug.