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

QPrintEngine add API support to send raw commands to printer

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Out of scope
    • Icon: P2: Important P2: Important
    • Some future release
    • 4.3.1
    • GUI: Printing
    • None

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes