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

[REG 5.2->5.3] Windows: QPrinter::setPaperSource() is incompatible to pre 5.3 Versions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.3.0 Beta1
    • Fix Version/s: 5.3.1
    • Component/s: GUI: Printing
    • Labels:
      None
    • Environment:
      Windows 7, Qt 5.3
    • Commits:
      9a2dbcab7e820c63aac55ba08dc120a56986efac (stable. 26.5.2014, 5.3.1)

      Description

      There are printers with papersources unknown to Qt. In pre 5.3 Releases it was possible to preset a paper source with a id which was not known to Qt. In 5.3. this is not possible any more.
      Qt pre 5.3 tried to match the given paper sources against the known qt paper source ids. If found it translated the Qt id to the Windows id. If not found Qt used the given paper source 1:1 without translation.
      Qt 5.3 ignores all paper source ids >= 14 and sets Auto instead.

      My printer is a Canon iR-ADV C5235. It has the paper sources: Einzug 1, Einzug 2, Einzug 3, Einzug 4. With Qt 5.3 it is not possible, to use 'Einzug 4' because it has a Windows id of 264.

      Suggestion: implement setPaperSource() / paperSource() with an optional additional parameter which indicates that it should use the native ID's.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              kleint Friedemann Kleint
              Reporter:
              kukepsw Kurt Keller
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes