[okular] [Bug 406053] Top of the page is cut of when printing

Michael Weghorn bugzilla_noreply at kde.org
Tue May 19 12:24:20 BST 2020


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

--- Comment #15 from Michael Weghorn <m.weghorn at posteo.de> ---
(In reply to Matthias from comment #12)
> (In reply to Michael Weghorn from comment #11)
> 
> > 1) Did you select any additional information in the print dialog, e.g. set
> > the "Force rasterization" checkbox?
> No, I haven't done anything in particular. Force rasterization is off.

What happens if you switch it on?

> > 2) What margins are set when you check that in the "Properties" dialog in
> > the print dialog? Does changing all margins to 0 make a difference?
> 6.35mm on the left and right, 12.7mm on the top and the bottom. It can't
> change them to 0, the GUI won't allow me to change them to anything less
> than these values.
> 
> > 3) What "Scale mode" is selected in the "PDF Options" tab in the print
> > dialog?
> Fit to printable area

That's interesting. At a quick glance, attachment 128311 looks like the missing
content might pretty much match the page margins, i.e. the non-printable area
of the printer ("6.35mm on the left and right, 12.7mm on the top and the
bottom".
However, if "fit to printable area" is selected, the content should
automatically scaled down by CUPS, since it is passed the "fit-to-page" option,
which can also be seen in your error_log:

Mai 09 14:52:14 localhost.localdomain cupsd[126424]: argv[5]="Collate
finishings=3 fit-to-page job-billing media=A4 number-up=1 number-up-layout=lrtb
outputorder=normal page-bottom=36 page-left=18 page-right=18 page-top=36
portrait sides=one-sided job-uuid=urn:uuid:f319f4b2-6461-357b-7ff1-f7b3153c271b
job-originating-host-name=localhost date-time-at-creation=
date-time-at-processing= time-at-creation=1589028734
time-at-processing=1589028734 document-name-supplied=okular_PwkqEO.ps
PageSize=A4"

What happens if you print the original PDF file and the generated PostScript
file using 'lp' from command line, i.e. passing it directly to CUPS rather than
using Okular?

i.e.

    lp -d HL-2030-series -o fit-to-page -o PageSize=A4 <YOUR_PDF_FILE>

and

    lp -d HL-2030-series -o fit-to-page -o PageSize=A4 d00129-001.ps

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


More information about the Okular-devel mailing list