<?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[Standartdrucker bei winXP]]></title><description><![CDATA[<p>Hi,<br />
Ich wollte mal fragen wie ich denn Standartdrucker bei WinXp raus bekomme.<br />
Als Standartdrucker habe ich einen Lexmark und dann habe ich noch denn Microsoft Office Document Image Writer. Und anstat den Lexmark bekomme ich immer den von Microsoft zurück. Bei win98 kann man ja PRINTER_ENUM_DEFAULT nehmen aber nicht bei winxp! Jetzt nutze ich PRINTER_ENUM_LOCAL oder _NAME!<br />
Hier ein Codeausschnitt:</p>
<pre><code>EnumPrinters(PRINTER_ENUM_LOCAL, NULL, 5, NULL, 0, &amp;dwNeeded, &amp;dwReturned);
pinfo = malloc(dwNeeded);
EnumPrinters(PRINTER_ENUM_LOCAL, NULL, 5, (PBYTE)pinfo, dwNeeded, &amp;dwNeeded, &amp;dwReturned);
hdc = CreateDC(NULL, pinfo-&gt;pPrinterName, NULL, NULL);
...
</code></pre>
<p>Ich hoffe ihr könnt mir helfen.<br />
MfG schirrmie</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/87857/standartdrucker-bei-winxp</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Apr 2026 03:37:03 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/87857.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 04 Oct 2004 16:30:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Standartdrucker bei winXP on Mon, 04 Oct 2004 16:30:50 GMT]]></title><description><![CDATA[<p>Hi,<br />
Ich wollte mal fragen wie ich denn Standartdrucker bei WinXp raus bekomme.<br />
Als Standartdrucker habe ich einen Lexmark und dann habe ich noch denn Microsoft Office Document Image Writer. Und anstat den Lexmark bekomme ich immer den von Microsoft zurück. Bei win98 kann man ja PRINTER_ENUM_DEFAULT nehmen aber nicht bei winxp! Jetzt nutze ich PRINTER_ENUM_LOCAL oder _NAME!<br />
Hier ein Codeausschnitt:</p>
<pre><code>EnumPrinters(PRINTER_ENUM_LOCAL, NULL, 5, NULL, 0, &amp;dwNeeded, &amp;dwReturned);
pinfo = malloc(dwNeeded);
EnumPrinters(PRINTER_ENUM_LOCAL, NULL, 5, (PBYTE)pinfo, dwNeeded, &amp;dwNeeded, &amp;dwReturned);
hdc = CreateDC(NULL, pinfo-&gt;pPrinterName, NULL, NULL);
...
</code></pre>
<p>Ich hoffe ihr könnt mir helfen.<br />
MfG schirrmie</p>
]]></description><link>https://www.c-plusplus.net/forum/post/620922</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/620922</guid><dc:creator><![CDATA[schirrmie]]></dc:creator><pubDate>Mon, 04 Oct 2004 16:30:50 GMT</pubDate></item><item><title><![CDATA[Reply to Standartdrucker bei winXP on Mon, 04 Oct 2004 19:30:23 GMT]]></title><description><![CDATA[<p>PRINTER_ENUM_CONNECTIONS</p>
<p>könnte helfen??</p>
<p>Schaue besser nochmal in der MSDN.</p>
<p>PS: wenn ihr alle mal beim geliebten &quot;nicht&quot;-NT Systemen bleiben würdet, könnte ich besser helfen (bin Verheiratet mit 98se, da sie mich selten in Stich lässt, XP hatte bei mir nach 4 Stunden bereits meine DVD-Laufwerke rausgeschmissen)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/621059</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/621059</guid><dc:creator><![CDATA[MiC++ha]]></dc:creator><pubDate>Mon, 04 Oct 2004 19:30:23 GMT</pubDate></item><item><title><![CDATA[Reply to Standartdrucker bei winXP on Tue, 05 Oct 2004 15:39:01 GMT]]></title><description><![CDATA[<p>Nein das ist es leider auch nicht. Ich habe schon alle anderen möglichkeiten versucht ohne erfolg. Wenn ich denn Namen expliziert eingebe</p>
<pre><code>hdc = CreateDC(NULL, &quot;Lexmark ..&quot;, NULL, NULL);
</code></pre>
<p>geht es auch. Naja ich hoffe ihr könnt mir noch helfen!<br />
MfG schirrmie</p>
]]></description><link>https://www.c-plusplus.net/forum/post/621723</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/621723</guid><dc:creator><![CDATA[schirrmie]]></dc:creator><pubDate>Tue, 05 Oct 2004 15:39:01 GMT</pubDate></item><item><title><![CDATA[Reply to Standartdrucker bei winXP on Tue, 05 Oct 2004 15:58:33 GMT]]></title><description><![CDATA[<p>Ab Windows 2000 gibt es die Funktion GetDefaultPrinter()</p>
]]></description><link>https://www.c-plusplus.net/forum/post/621754</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/621754</guid><dc:creator><![CDATA[geeky]]></dc:creator><pubDate>Tue, 05 Oct 2004 15:58:33 GMT</pubDate></item><item><title><![CDATA[Reply to Standartdrucker bei winXP on Tue, 05 Oct 2004 18:07:27 GMT]]></title><description><![CDATA[<p>Danke habe noch was anderes gefunden was funktioniert aber werde deins trotzdem noch mal probieren.<br />
Wenn es interessiert.</p>
<pre><code>GetProfileString(&quot;windows&quot;, &quot;device&quot;, &quot;&quot;, buffer, sizeof(buffer));
</code></pre>
<p>MfG schirrmie</p>
]]></description><link>https://www.c-plusplus.net/forum/post/621883</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/621883</guid><dc:creator><![CDATA[schirrmie]]></dc:creator><pubDate>Tue, 05 Oct 2004 18:07:27 GMT</pubDate></item></channel></rss>