Qt6 topics merged with General


  • Hi all,

    I am currently working on QPrinter to print labels on Linux. I am trying to get the status of the printer using QPrinter::printerState().

    I know there are four printer states available

    1. QPrinter::Idle
    2. QPrinter::Active
    3. QPrinter::Aborted
    4. QPrinter::error

    But I want to know whether QPrinter can return the current printer status like whether printer is connected or disconnected ?

    Any help is highly appreciated.

    Narayanan K

Log in to reply