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 on linux (Raspberry Pi)
Forum Updated to NodeBB v4.3 + New Features

Printing on linux (Raspberry Pi)

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 1.4k Views
  • 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.
  • P Offline
    P Offline
    pVit
    wrote on last edited by
    #1

    Hello,
    I have problem with printing on my Raspberry Pi, OS Ubuntu MATE.
    QPrintDialog, QPrinterInfo etc. classes don't work on Raspberry and I need to print somehow.

    Now, I print with classic linux command lpr, but it's not the best solution for me, because my printer has broken drivers and prints bad.
    When I print with Ubuntu MATE programs (Scite, Atril, Pluma etc.) everything prints well.

    So do you know how to print on Raspberry Pi without lpr or lp in Qt?
    Or do you know how to print in terminal throught Atril?

    Thank You

    VRoninV 1 Reply Last reply
    0
    • P pVit

      Hello,
      I have problem with printing on my Raspberry Pi, OS Ubuntu MATE.
      QPrintDialog, QPrinterInfo etc. classes don't work on Raspberry and I need to print somehow.

      Now, I print with classic linux command lpr, but it's not the best solution for me, because my printer has broken drivers and prints bad.
      When I print with Ubuntu MATE programs (Scite, Atril, Pluma etc.) everything prints well.

      So do you know how to print on Raspberry Pi without lpr or lp in Qt?
      Or do you know how to print in terminal throught Atril?

      Thank You

      VRoninV Offline
      VRoninV Offline
      VRonin
      wrote on last edited by
      #2

      @pVit said in Printing on linux (Raspberry Pi):

      QPrintDialog, QPrinterInfo etc. classes don't work on Raspberry

      I'm not sure this is correct. Why do you think so?
      Did you deploy the printsupport plugin http://doc.qt.io/qt-5/deployment-plugins.html?

      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
      ~Napoleon Bonaparte

      On a crusade to banish setIndexWidget() from the holy land of Qt

      P 1 Reply Last reply
      0
      • VRoninV VRonin

        @pVit said in Printing on linux (Raspberry Pi):

        QPrintDialog, QPrinterInfo etc. classes don't work on Raspberry

        I'm not sure this is correct. Why do you think so?
        Did you deploy the printsupport plugin http://doc.qt.io/qt-5/deployment-plugins.html?

        P Offline
        P Offline
        pVit
        wrote on last edited by
        #3

        @VRonin
        Ye, It's not true at all. But for example QPrintDialog shows dialog but there are no printers to choose, there is only Print to File (PDF) option.

        1 Reply Last reply
        0
        • VRoninV Offline
          VRoninV Offline
          VRonin
          wrote on last edited by
          #4

          if there are printers connected to the raspberry it definitely is a matter of deploying the printsupport plugin

          "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
          ~Napoleon Bonaparte

          On a crusade to banish setIndexWidget() from the holy land of Qt

          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