Quering printer for status
Unsolved
General and Desktop
-
Hi
As far as i know, such info is not available with QPrinter.
For Windows, you can use native API.
https://support.microsoft.com/en-us/help/160129/how-to-get-the-status-of-a-printer-and-a-print-job -
I have found this also but I am not quite sure how to use this https://stackoverflow.com/questions/40043507/qt-5-8-windows-printer-api-invalid-handle-error
-
Hi
Well its also native windows API.
To use it, you should look up the function calls
https://docs.microsoft.com/en-us/windows/desktop/printdocs/getdefaultprinter
there you can see what DLL to link to
and which header file.