[okular] [Bug 422690] Margins often cut when printing (2020 - Okular-1.10.0)

Michael Weghorn bugzilla_noreply at kde.org
Mon Jun 22 09:09:50 BST 2020


https://bugs.kde.org/show_bug.cgi?id=422690

Michael Weghorn <m.weghorn at posteo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WAITINGFORINFO
                 CC|                            |m.weghorn at posteo.de
             Status|REPORTED                    |NEEDSINFO

--- Comment #3 from Michael Weghorn <m.weghorn at posteo.de> ---
(In reply to kolAflash from comment #1)
> Created attachment 129168 [details]
> different logs and printouts (mind extra scanning margins)

At a quick glance, the Postscript file generated by Okular looks OK to me (file
'debian_11-beta-20200609/var/spool/cups/d00018-001_-_print-area' in the
attached tar file); if you open that in Okular, it looks the same as the PDF
file 'numeric_test.pdf'.

The processing to fit that to the page etc. is done by CUPS (and the
corresponding so-called CUPS filters), according to the options Okular passes,
which are those for the first case (from the error_log file):

> D [09/Jun/2020:21:25:03 +0200] [Job 18] argv[5]="Collate ColorModel=KGray finishings=3 fit-to-page job-billing media=A4 number-up=1 number-up-layout=lrtb outputorder=normal page-bottom=41 page-left=10 page-right=10 page-top=10 portrait sides=one-sided job-uuid=urn:uuid:c 7d3001b-0e41-33d2-5eec-70168aa8d6ee job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1591730703 time-at-processing=1591730703 document-name-supplied=okular_ufzIXL.ps PageSize=A4"

This looks OK to me at a quick glance. Therefore, this might be an issue
outside of Okular.

Some questions:

1) What happens if you print that file using the same options using command
line, i.e.:

lp -d HP_DeskJet_1000_at_fbox_hpcups -o "Collate ColorModel=KGray finishings=3
fit-to-page job-billing media=A4 number-up=1 number-up-layout=lrtb
outputorder=normal page-bottom=41 page-left=10 page-right=10 page-top=10
portrait sides=one-sided job-uuid=urn:uuid:c
7d3001b-0e41-33d2-5eec-70168aa8d6ee job-originating-host-name=localhost
date-time-at-creation= date-time-at-processing= time-at-creation=1591730703
time-at-processing=1591730703 document-name-supplied=okular_ufzIXL.ps
PageSize=A4" debian_11-beta-20200609/var/spool/cups/d00018-001_-_print-area

2) Does it make any difference if you just use this command?

lp -d HP_DeskJet_1000_at_fbox_hpcups -o fit-to-page
debian_11-beta-20200609/var/spool/cups/d00018-001_-_print-area

3) What happens if you print the PDF file numeric_test.pdf_able-job_1474.pdf
from Okular to the CUPS-PDF printer instead of your physical one? (seems to
work fine for me on Debian testing)

4) Do you have any other printer you can test with, and if so, how does it
behave?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list