Okular printing (WAS: Re: libkdeprint)
John Layt
johnlayt at yahoo.com.au
Sun Nov 18 03:01:18 GMT 2007
On Tuesday 13 November 2007, Alex Merry wrote:
> On Saturday 03 Nov 2007, John Layt wrote:
> > I'll get the last few margins kinks worked out today and we should be
> > good to go.
>
> How is this doing? It doesn't seem to be in Okular at the moment. I'd
> quite like to be able to change the status of printing at
> http://techbase.kde.org/Schedules/KDE4/4.0_Release_Beta_Goals#Printing
>
> Alex
Almost there, still to do:
* ps spectre backend to be completed
* Change namespace to okular (seeing as no other apps left to use it)
* Confirm with dvi maintainer that printing wasn't working before
* Under Win & OSX(?) disable print menu item for FilePrinter backends
* Print preview for ps files by cloning KPrintPreview and call kpart for ps
* Print to file option clean-up
* Revisit the Cups detection stuff
Should be done end of Sunday.
I've been wasting a lot of time trying to solve a problem with Landscape
printing, which I now think may be a Qt4 bug.
Printing a Portrait PDF document works fine if you select Portrait in the
Print Dialog, and if you select Landscape in the Print Dialog it is correctly
oriented and scaled but slightly cut-off at the right margin.
Printing a Landscape PDF document and selecting Landscape in the Print Dialog
results in a correctly rotated page but cut-off at Portrait length. Instead,
selecting Portrait in the Print Dialog produces perfect results.
I also get the same problem in QPainter/QPrinter based backends (e.g. jpegs
and comicbook) with landscape images, and I'm getting it printing anything
from the Qt4 Assistant in landscape. Printing from KDE3 or QT3 Assistant is
fine. I'm using openSuse 10.3, Qt 4.3.2.
The Qt bug tracker has some old fixed bugs for what sounds like this problem,
so I wonder if they've accidently regressed?
Can anyone else replicate this? Simply fire up Qt4 Assistant and in the print
dialog choose Landscape and then print and tell me if it comes out OK? Or
apply the attached patch and try a landscape format document/image.
Cheers!
John.
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: okular-fileprinter.diff
Type: text/x-diff
Size: 58063 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20071118/e35eee16/attachment.diff>
More information about the kde-core-devel
mailing list