Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Printing does not work in installation package

Printing does not work in installation package

Scheduled Pinned Locked Moved Solved General and Desktop
7 Posts 3 Posters 1.1k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ZgemboZ Offline
    ZgemboZ Offline
    Zgembo
    wrote on last edited by
    #1

    Hi all,

    I have a project that has printing support implemented in some capacity. Project is created in Visual Studio and in debug and release mode it is possible to print document on connected printer. When I create installation package and install app on my computer my printing support does not work. Jobs are not sent to printing spooler.
    Am I missing something?

    Tnx

    K 1 Reply Last reply
    0
    • ZgemboZ Zgembo

      Hi all,

      I have a project that has printing support implemented in some capacity. Project is created in Visual Studio and in debug and release mode it is possible to print document on connected printer. When I create installation package and install app on my computer my printing support does not work. Jobs are not sent to printing spooler.
      Am I missing something?

      Tnx

      K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      @Zgembo

      Did you add the printsupport plugin to your installation package?

      I have for instance these plugin folder in the Qt dll folder and they will be installed together with the Qt dlls.
      0_1554371704605_97e5b88d-dc38-4a3c-96d3-7d8ed00ff4ec-image.png

      Vote the answer(s) that helped you to solve your issue(s)

      ZgemboZ 1 Reply Last reply
      1
      • K koahnig

        @Zgembo

        Did you add the printsupport plugin to your installation package?

        I have for instance these plugin folder in the Qt dll folder and they will be installed together with the Qt dlls.
        0_1554371704605_97e5b88d-dc38-4a3c-96d3-7d8ed00ff4ec-image.png

        ZgemboZ Offline
        ZgemboZ Offline
        Zgembo
        wrote on last edited by
        #3

        @koahnig said in Printing does not work in installation package:

        @Zgembo

        Did you add the printsupport plugin to your installation package?

        I have for instance these plugin folder in the Qt dll folder and they will be installed together with the Qt dlls.
        0_1554371704605_97e5b88d-dc38-4a3c-96d3-7d8ed00ff4ec-image.png

        Yes

        1 Reply Last reply
        0
        • ZgemboZ Offline
          ZgemboZ Offline
          Zgembo
          wrote on last edited by
          #4

          I have copied printsupport folder from Qt installation folder to my app but I still does not work.
          Also I have run my app using "Dependency walker" profile mode and when I click on print button I get this reading.

          0_1554377214138_7ac6db40-62b2-4906-9ad6-4ae2943e4c9a-image.png

          1 Reply Last reply
          0
          • ZgemboZ Offline
            ZgemboZ Offline
            Zgembo
            wrote on last edited by Zgembo
            #5

            Does anyone have any idea? When I query printer name in standalone app it seems as if it is not set.

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Hi,

              Did you use windeployqt to deploy your application ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              ZgemboZ 1 Reply Last reply
              2
              • SGaistS SGaist

                Hi,

                Did you use windeployqt to deploy your application ?

                ZgemboZ Offline
                ZgemboZ Offline
                Zgembo
                wrote on last edited by Zgembo
                #7

                @SGaist said in Printing does not work in installation package:

                windeployqt

                Yes. I have tried to copy all the files and folders that were generated and it works now. Thank you.

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved