Version: 0.8.2 (using 4.2.2 (KDE 4.2.2), 4.2.2-12.fc10 Fedora) Compiler: gcc OS: Linux (i686) release 2.6.27.21-170.2.56.fc10.i686 On a monthly basis, I download a skymap from http://skymaps.com/. I try to print out the pdf file with Okular and both the right and left side are cropped. I change the margins expecting the pdf page to be scaled to fit the page, but again it just crops the right and left side (long side of page) of the printing. If I change the top/bottom margins (narrow part) nothing is changed. I even tried 2cm margins with no change to the printing. There is no problems in the print preview. I had no problems with kpdf printing these pdf files.
Created attachment 33504 [details] Image of 4 different margin settings. All these are printed on an HP Business Inkjet 2100 that has worked perfectly with Kpdf. The top print was with the Top/Bottom margins set as 2cm each. Ruler is there to show the width. As you can see, the top margin is set to 2cm but the image is still printed at 1.45cm.
Created attachment 33505 [details] Screen Capture of print preview This is a screen capture of the print preview dialog. You will notice that there is no cropping. Note that there is no cropping of the image on any sides. I don't think that there is any linking between the print settings and the preview so the preview is not a good indicator of how printing is going to look.
Do you think this could be related to Bug 196590 ?
It may be related but the printing isn't being moved. The edges are being clipped no matter what I do with the margins. I printed the same document with kpdf on a Fedora 7 computer today and had to adjust the margins a bit to get it to print properly. Adjusting the margins in Okular doesn't fix the problem. Maybe the skymaps.com pdf just shows the problem more.
I also think, it would be nice, if I could say "print this image on the full page", and it gets scaled accordingly just as much as needed, still keeping the width:height ratio of the original image and respecting the page margins of the paper.
Last week I printed with Okular on a F10 machine and the image did adjust to the page margins. I have yet to try it with F10 on the same machine. This was printing from a client to a print que on a different computer then to a cups printer. When I get back to work, I will try it with F12 and different printers.
Confirming problem for 0.9.80 from sources.
I'm having a similar problem on Arch 64, except when I print, the bottom margin is essentially neglected resulting in the printed page to be shifted downwards. Left-right centering is unaffected.
Confirmed in Okular version 0.10.4 from KDE 4.4.4 under archlinux 32bit. Setting page margins under printer properties has absolutely no effect.
Is this report still valid for a more recent okular version?
I have just had a chance to test on 0.13.3 (from about) Still the same problem on Fedora. I made three printouts with a change in the margins (top and bottom) from 1/2 inch to .75 inch and all margins to 1 inch. No change. I know that Evince 3.2.1 prints as expected and works. okular-4.7.4-1.fc16.x86_64 (number is KDE version) kernel-3.1.7-1.fc16.x86_64 evince-3.2.1-2.fc16.x86_64 Fully up-to-date. I have had some printing issues with other documents but this is the worst. I also printed a different two page document and tried to increase the margins to 1 inch on all sides. No change. Yes. the bug still exists. Do I need to take pictures again?
User did provide info, moving back to unconfirmed
I just made sure that my system was up to date and did a test. Still issues with the margins. I can set the margins to what ever I want. 1.5 inch in the print dialog on all sides and there is no change. The print preview shows a margin around the document. Of course it isn't based on the margin setting that I set in the print dialog. When it comes to printing, if the default won't work in Okular, I change to a different program. Download the latest skymap from Skymap.com. This is the worst case test file. I just tried with multiple files and still the same issues. I cannot set the print margins. The preview shows margins but the actual print still has no margins. Other linux programs work as expected. From the about info. Version 0.14.3 KDE 4.8.5
I have been using a different program to print pdf's for so long, I forgot about this bug until I saw the update. Since then I have changed printers and updated OS as well as Okular has been updated. Today I tested printing out the file that caused the most issues and it worked as expected. Changing the margins in the print dialog still doesn't change the margins on the print out even though the preview changes.
You mean the preview in the dialog? That preview is fake :D Can you say which okular and cups version are you running?
Okular 4.11.5-1.fc19 cups 1.6.4-5.fc19 As I am running an HP laser printer I use hplip. Just to cover all bases. hplip - 3.13.11-4.fc19 I did confirm that the printer is working through cups from the cups logs and a test print.
Ok, so this is a dupe of 312826 Well not really, you have a working cups but an old okular that doesn't have the bugfix, and 312826 is about having the bugfix but cups broken. If you're lucky and you update your KDE without updating your cups it should work. *** This bug has been marked as a duplicate of bug 312826 ***
I just checked and there is no update on my version of Linux (Fedora 19). I will check the F20 machines I have.