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

QPrintEngine add API support to send raw commands to printer

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Out of scope
    • Affects Version/s: 4.3.1
    • Fix Version/s: Some future release
    • Component/s: GUI: Printing
    • Labels:
      None

      Description

      Printers are increasingly supporting features such as magnetic card encoding, RFID chip programming, barcode generation, and other higher level functions that are inaccessible from the drawing layer.

      Windows (as a particular example) has support for sending raw printer commands intermixed with GDI calls using the Escape API:

      http://msdn.microsoft.com/en-us/library/ms535472(VS.85).aspx

      Using that API with PASSTHROUGH allows an application to insert raw printer commands into the printer command stream.

      It would be nice if QPrintEngine (or some other likely suspect) had a supported method of doing this on each platform. As it is, you are forced to give up QPainters functionality and generate a raw print job in the printers native language if you want to access the smallest of these features.

        Attachments

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

          Activity

            People

            Assignee:
            sletta Gunnar Sletta
            Reporter:
            dettman Dean Dettman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes