<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Detecting if printer is ready (connected and supplied)]]></title><description><![CDATA[<p dir="auto">Hello !</p>
<p dir="auto">I want to know if a specific printer is connected to my computer (Windows).</p>
<p dir="auto">I already read this topic :<br />
[<a href="https://forum.qt.io/topic/14320/detecting-a-printer-connection">https://forum.qt.io/topic/14320/detecting-a-printer-connection</a>](link url)</p>
<p dir="auto">But QPrinterInfo::state() sends me "Idle" even if the printer is not supplied and the "printers and scanners" section in windows tells me it is offline.</p>
<p dir="auto">Windows can tell if the printer is online or offline =&gt; I want to know that, and QPrinterInfo::state() doesn't tell me that.</p>
<p dir="auto">Do you know how to do that ?</p>
]]></description><link>https://forum.qt.io/topic/136927/detecting-if-printer-is-ready-connected-and-supplied</link><generator>RSS for Node</generator><lastBuildDate>Mon, 11 May 2026 02:35:22 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/136927.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 01 Jun 2022 13:21:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Detecting if printer is ready (connected and supplied) on Thu, 02 Jun 2022 17:02:43 GMT]]></title><description><![CDATA[<p dir="auto">OK thanks,<br />
I'll deal with it another way,</p>
<p dir="auto">Thanks again !</p>
]]></description><link>https://forum.qt.io/post/716307</link><guid isPermaLink="true">https://forum.qt.io/post/716307</guid><dc:creator><![CDATA[Blogie]]></dc:creator><pubDate>Thu, 02 Jun 2022 17:02:43 GMT</pubDate></item><item><title><![CDATA[Reply to Detecting if printer is ready (connected and supplied) on Thu, 02 Jun 2022 13:29:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/blogie">@<bdi>Blogie</bdi></a><br />
We are saying it's not something Qt knows about.  If there are Windows-specific libraries/calls which can detect "printer connection" --- as there probably are --- you can use those instead from your Qt/C++ program if you want that level of information.</p>
]]></description><link>https://forum.qt.io/post/716273</link><guid isPermaLink="true">https://forum.qt.io/post/716273</guid><dc:creator><![CDATA[JonB]]></dc:creator><pubDate>Thu, 02 Jun 2022 13:29:44 GMT</pubDate></item><item><title><![CDATA[Reply to Detecting if printer is ready (connected and supplied) on Thu, 02 Jun 2022 13:15:17 GMT]]></title><description><![CDATA[<p dir="auto">OK, thank you Kent,<br />
If I understand it well, if it would have been possible to know if my printer is online or offline, QPrinterInfo::state() would have told me that. But my printer may be too specific (it's a sticker printer ZEBRA), that's why QPrinterInfo::state() can't tell the real state of the printer.<br />
Is that correct ?</p>
<p dir="auto">I will deal with it differently. Thanks again !</p>
]]></description><link>https://forum.qt.io/post/716265</link><guid isPermaLink="true">https://forum.qt.io/post/716265</guid><dc:creator><![CDATA[Blogie]]></dc:creator><pubDate>Thu, 02 Jun 2022 13:15:17 GMT</pubDate></item><item><title><![CDATA[Reply to Detecting if printer is ready (connected and supplied) on Thu, 02 Jun 2022 05:30:00 GMT]]></title><description><![CDATA[<p dir="auto">printers and their features are too varied to provide a common API that is realiable.  I mean there are like 12 different common networking protocols that are used to forward print jobs, and each printer tends to have its own "language", although a few are more common than others.</p>
]]></description><link>https://forum.qt.io/post/716214</link><guid isPermaLink="true">https://forum.qt.io/post/716214</guid><dc:creator><![CDATA[Kent-Dorfman]]></dc:creator><pubDate>Thu, 02 Jun 2022 05:30:00 GMT</pubDate></item></channel></rss>