Summary: | Printing 4 landscape pages on one | ||
---|---|---|---|
Product: | [Unmaintained] kcontrol | Reporter: | Kde <kde> |
Component: | kcmprintmgr | Assignee: | KDEPrint Devel Mailinglist <kde-print-devel> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | wishlist | CC: | pekka.jaaskelainen, thomas.bettler |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
patch for psnup filter (multiple-pages-per-sheet)
updated patch, now against kdelibs 3.4.1 |
Description
Kde
2002-12-20 20:07:05 UTC
I can repeat this bug. While printing from adobe acrobat using kprinter, I have the same problem. I have an extra twist: setting the options for landscape, the 4 pages print out in portrait, and vice versa. I disagree about what would make a reasonable order, however. I'd prefer: 1 2 3 4 Buy Buy -- Dan Davis buybuydandavis@yahoo.com [root@Home ]# kprinter --version Qt: 3.1.1 KDE: 3.1-12 Red Hat kprinter: 0.0.1 I agree with dandavis. kprinter should check whether landscape radio button is checked and then add just add the -l parameter to psnup. I just stumbled over this problem again and the whish still seems to be open. It is so easy to implement, why not just do it?! Takes about 5 minutes (I'd even submit it myself, if someone told me how). well, a simple workaround for me is changing /usr/share/apps/kdeprint/filters/psnup.xml and adding a new filter-arg: <filterarg name="orientation" description="Orientation" format="-%value" type="list" default="" persistent="1"> <value name="r" description="Seascape" /> <value name="l" description="Landscape" /> <value name="f" description="Interchanged Width/Height" /> </filterarg> attention: you have to define the filter yourself in the kprinter-dialog, which means you cannot simple select "2 pages on one sheet" anymore. maybe i will do a correct patch for kprinter, if i figure out where in the source to do this correctly. Created attachment 11300 [details]
patch for psnup filter (multiple-pages-per-sheet)
attached to my previous comment is a proposed patch against kdelibs-3.4.0 that fixes this issue patch-description: *) this patch adds a new option to the psnup filter called "orientation" *) it changes the behaviour of kxmlcommand.cpp so that it doesn't quote empty strings, which makes it possible to use a filterarg value with name="" to skip the parameter *) it automatically selects orientation=landscape for the psnup filter, if the radio selectbox of the print-properties page is set to "Landscape" Created attachment 11457 [details]
updated patch, now against kdelibs 3.4.1
updated patch, still doing said things above (which only works automatically
-i.e. adds the correct filter- when printing to a file)
plus:
*) added correct number-up-layout IPP attribute for multiple pages per sheet
when printing landscape, reverse-landscape or reverse-portrait. (at least when
tested with a CUPS-printer, HP-Deskjet 5550C)
note that this are the correct layouts for left-to-right, top-to-bottom readers
like in the western countries. todo is to add correct support for other
orientations (i.e. combine it somehow with i18n)
just a note, that this patch applies on 3.5.0rc2 with only a small offset. any chance for getting it into cvs? Are there any news on this? It would be finest, if the page format (landscape) is recognized automatically without the need to set it manually in the print dialog, which I forget quite often. another note that this patch still applies to 3_5_branch. i was wondering if there were any specific reasons that this patch does not get any developer feedback? just a lack of time - because the patch is merely 73 lines. ...think of all the poor other people out there in desperate need for correct 4-landcape-pages-on-one handling ;) BTW: the status of this report should be changed from wishlist to bug I started to put it up (checks needed) twice and both times lacked time. I will try to do it in the next week. Thanks for the patience. Any possibility to see it in kde 3 and/or 4 soon ? *** This bug has been confirmed by popular vote. *** Hello! Sorry to be the bearer of bad news, but this project has been unmaintained for many years so I am closing this bug. Kcontrol has been replaced by System Settings in Plasma. Please give the latest version of that a try, and open a new bug in "systemsettings" if you continue to have an issue. Thank you! |