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

            Bug ID: 520211
           Summary: Printing margins are off
    Classification: Applications
           Product: okular
      Version First 21.12.3
       Reported In:
          Platform: Ubuntu
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: printing
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 192323
  --> https://bugs.kde.org/attachment.cgi?id=192323&action=edit
A4 PDF with a horizontal millimeter ruler

DESCRIPTION
I print a PDF (double sided) with cut marks, and Okular seems to have odd ideas
about positioning and scaling content on a page, making the cut marks on the
front mismatching the cut marks on the back of the page.

STEPS TO REPRODUCE
To measure the errors, I created a measurements page in Inkscape on an A4 page
with a horizontal millimeter ruler. See attachment, it has two pages to test
double sided printing. Printer is an Epson ET4850, but the issue appears on the
big company printer, too, although I don't have measurements from there at the
moment.

OBSERVED RESULT
I tried all three scaling options in the Okular print dialog -> Einstellungen
(Settings?) -> PDF-Optionen (PDF-Options?) -> Skalierungsmodus (Scaling Mode?)
- Sorry, I'm using the German interface settings, English translations are mine
and may be off.

1: Auf Druckbaren Bereich anpassen (Scale to printable area?)
Scaled down, left edge, left and right edge are both there.
The 0mm mark is 2.48mm from the left paper edge, the 210mm mark is 4.63mm from
the right paper edge.
Not usable for me, because it scales.

2: Auf ganze Seite anpassen (Scale to whole page?)
Not scaled, left edge and right edge cut off.
The 4mm mark is 2.64mm from the left paper edge, the 207mm mark is 4.30mm from
the right paper edge.
Not ideal for me, because the print is 0.2mm too far left, mismatches front to
back are noticeable.

3: In Originalgröße drucken (Print in original size?)
Not scaled, right edge cut off.
The 0mm mark is 2.16mm from the left paper edge, the 203mm mark is 4.65mm from
the right paper edge.
Not usable for me, as it is completely off.

This third is the oddest discrepancy, original size *is* A4, page size *is*
selected as A4, so I'd expect it to be the same as the second, but it
completely is not?

EXPECTED RESULT
When I print this from Inkscape at 100%, it cuts the left and right edges off
(printers margin, as expected).
The 3mm mark is 1.85mm from the left paper edge, the 207mm mark is 4.18mm from
the right paper edge. So the printer or paper feed seems to be ~1.2mm off
center, but at least the cut marks in my original file about match, so this is
(for me) correct print behavior. I cannot reproduce a print with identical
position in Okular, all three of the Okular print settings produce wrong
positions.

SOFTWARE/OS VERSIONS
Operating System (available in the Info Center app, or by running `kinfo` in a
terminal window):
KDE Plasma Version: 5.24.7
KDE Frameworks Version: 6.92.0
Qt Version: 5.15.3
Okular Version: 21.12.3
(That's my desktop machine, but on my laptop, freshly updated to Kubuntu 26.4,
the issue is the same)

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to