Printing on linux (Raspberry Pi)



  • 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



  • @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?



  • @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.



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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.