Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-76982

Qt always prints in A4, even when Letter is selected

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.12.3, 5.13.0
    • GUI: Printing
    • None
    • Arch Linux Qt packages, Samsung C1860FW printer connected via AppSocket/JetDirect with CUPS 2.2.11 and a PPD from Foomatic.
    • Linux/X11, Windows

    Description

      From the KDE Bugzilla, https://bugs.kde.org/show_bug.cgi?id=408270

      The KDE bug report will give the full story, but essentially Qt always submits jobs to CUPS in A4 size, even when Letter is selected in the printer properties. As a result, when printing a Letter-size PDF file, white bars are added at the top and bottom and the document appears smaller on the page, sine the printer resizes the A4 PostScript document it gets to fit on Letter-size paper.

      I don't think this is a problem with my CUPS configuration since Chromium's "Print using system dialog" option (GTK+ 3) and LibreOffice's print dialog both work as expected. Also, this problem appears on two different Arch systems I set up a few months apart. However, it could be something strange with the packaging, since neither of the participants on the KDE bug report were able to reproduce the problem.

      Arch Linux PKGBUILD script for qt5-base: https://git.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/qt5-base

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            johnlayt John Layt
            matthewtrescott Matthew Trescott
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes