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

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.3.1
    • 5.3.0 Beta1
    • GUI: Printing
    • None
    • Windows 7, Qt 5.3
    • 9a2dbcab7e820c63aac55ba08dc120a56986efac (stable. 26.5.2014, 5.3.1)

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes