<?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[Drucken?]]></title><description><![CDATA[<p>Ich habe in der FAQ einen Beitrag über Drucken gelesen und wollte das mal ausprobieren. Dazu habe ich folgenden Code geschrieben:</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;
#include &lt;fstream&gt;
using namespace std;

void main ()
{
    ofstream drucker(&quot;LPT1&quot;);
    drucker&lt;&lt;&quot;Hello World!&quot;&lt;&lt;endl;
    drucker.put('\f');
    drucker.close();
}
</code></pre>
<p>Nur... irgendwie will er nicht.<br />
Kann mir mal jemand helfen?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/17132/drucken</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 00:55:15 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/17132.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 10 May 2003 15:06:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Drucken? on Sat, 10 May 2003 15:06:00 GMT]]></title><description><![CDATA[<p>Ich habe in der FAQ einen Beitrag über Drucken gelesen und wollte das mal ausprobieren. Dazu habe ich folgenden Code geschrieben:</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;
#include &lt;fstream&gt;
using namespace std;

void main ()
{
    ofstream drucker(&quot;LPT1&quot;);
    drucker&lt;&lt;&quot;Hello World!&quot;&lt;&lt;endl;
    drucker.put('\f');
    drucker.close();
}
</code></pre>
<p>Nur... irgendwie will er nicht.<br />
Kann mir mal jemand helfen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/95904</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/95904</guid><dc:creator><![CDATA[unregistered]]></dc:creator><pubDate>Sat, 10 May 2003 15:06:00 GMT</pubDate></item><item><title><![CDATA[Reply to Drucken? on Sat, 10 May 2003 16:16:00 GMT]]></title><description><![CDATA[<p>Druckt er gar nicht oder nur ein leeres Blatt?<br />
Hängt dein Drucker auch sicher am LTP1? Eventuell hast du einen USB-Drucker...</p>
<p>Eventuell liegt es auch am endl. Vielleicht mag er das nicht - mach es mal weg.</p>
<p>MfG SideWinder</p>
]]></description><link>https://www.c-plusplus.net/forum/post/95905</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/95905</guid><dc:creator><![CDATA[SideWinder]]></dc:creator><pubDate>Sat, 10 May 2003 16:16:00 GMT</pubDate></item><item><title><![CDATA[Reply to Drucken? on Sat, 10 May 2003 20:39:00 GMT]]></title><description><![CDATA[<p>Nein, ich hab schon einen LPT1-Drucker.<br />
Er fängt an zu rattern und dann hört er aber wieder auf.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/95906</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/95906</guid><dc:creator><![CDATA[unregistered]]></dc:creator><pubDate>Sat, 10 May 2003 20:39:00 GMT</pubDate></item><item><title><![CDATA[Reply to Drucken? on Sun, 11 May 2003 08:21:00 GMT]]></title><description><![CDATA[<p>Hast du es nun schon ohne endl versucht?</p>
<p>MfG SideWinder</p>
]]></description><link>https://www.c-plusplus.net/forum/post/95907</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/95907</guid><dc:creator><![CDATA[SideWinder]]></dc:creator><pubDate>Sun, 11 May 2003 08:21:00 GMT</pubDate></item><item><title><![CDATA[Reply to Drucken? on Sun, 11 May 2003 10:03:00 GMT]]></title><description><![CDATA[<p>Ja hab ich aber es geht immer noch nicht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/95908</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/95908</guid><dc:creator><![CDATA[unregistered]]></dc:creator><pubDate>Sun, 11 May 2003 10:03:00 GMT</pubDate></item><item><title><![CDATA[Reply to Drucken? on Sun, 11 May 2003 16:46:00 GMT]]></title><description><![CDATA[<p>So jetzt zieht er ein Blatt Papier ein aber sonst macht er nichts.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/95909</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/95909</guid><dc:creator><![CDATA[unregistered]]></dc:creator><pubDate>Sun, 11 May 2003 16:46:00 GMT</pubDate></item><item><title><![CDATA[Reply to Drucken? on Mon, 12 May 2003 17:06:00 GMT]]></title><description><![CDATA[<p>Hmm keine Ahnung. Soll ich dich eventl. mal ins WinAPI-Forum verschieben? Vielleicht können die dir dort einen WinAPI-Weg zum Drucken anbieten.</p>
<p>Oder soll dein Programm unter DOS laufen?</p>
<p>MfG SideWinder</p>
]]></description><link>https://www.c-plusplus.net/forum/post/95910</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/95910</guid><dc:creator><![CDATA[SideWinder]]></dc:creator><pubDate>Mon, 12 May 2003 17:06:00 GMT</pubDate></item><item><title><![CDATA[Reply to Drucken? on Tue, 13 May 2003 16:23:00 GMT]]></title><description><![CDATA[<p>Okay verschieb. Vielleicht hilfts.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/95911</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/95911</guid><dc:creator><![CDATA[unregistered]]></dc:creator><pubDate>Tue, 13 May 2003 16:23:00 GMT</pubDate></item><item><title><![CDATA[Reply to Drucken? on Tue, 13 May 2003 16:53:00 GMT]]></title><description><![CDATA[<p>*weg drück*</p>
]]></description><link>https://www.c-plusplus.net/forum/post/95912</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/95912</guid><dc:creator><![CDATA[Press any key]]></dc:creator><pubDate>Tue, 13 May 2003 16:53:00 GMT</pubDate></item><item><title><![CDATA[Reply to Drucken? on Tue, 13 May 2003 20:32:00 GMT]]></title><description><![CDATA[<p><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/prntspol_62ia.asp" rel="nofollow">Hier</a> solltest du finden, was du brauchst / suchst <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/95913</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/95913</guid><dc:creator><![CDATA[flenders]]></dc:creator><pubDate>Tue, 13 May 2003 20:32:00 GMT</pubDate></item><item><title><![CDATA[Reply to Drucken? on Fri, 16 May 2003 10:16:00 GMT]]></title><description><![CDATA[<p>Das geht auch:</p>
<pre><code class="language-cpp">ShellExecute(NULL, TEXT(&quot;print&quot;), TEXT(&quot;C:\\File.txt&quot;), NULL, NULL, SW_SHOW);
oder:
ShellExecute(NULL, TEXT(&quot;print&quot;), TEXT(&quot;Hallo Welt&quot;), NULL, NULL, SW_SHOW);
</code></pre>
<p>MFG</p>
<p>ReneS</p>
]]></description><link>https://www.c-plusplus.net/forum/post/95914</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/95914</guid><dc:creator><![CDATA[ReneS]]></dc:creator><pubDate>Fri, 16 May 2003 10:16:00 GMT</pubDate></item><item><title><![CDATA[Reply to Drucken? on Sat, 17 May 2003 10:00:00 GMT]]></title><description><![CDATA[<blockquote>
<p>Original erstellt von ReneS:<br />
**Das geht auch:</p>
<pre><code class="language-cpp">ShellExecute(NULL, TEXT(&quot;print&quot;), TEXT(&quot;C:\\File.txt&quot;), NULL, NULL, SW_SHOW);
oder:
ShellExecute(NULL, TEXT(&quot;print&quot;), TEXT(&quot;Hallo Welt&quot;), NULL, NULL, SW_SHOW);
</code></pre>
<p>MFG</p>
<p>ReneS**</p>
</blockquote>
<p>wie?? diese eine zeile, und ich kann was drucken lassen??? cool <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f576.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--sunglasses"
      title=":sunglasses:"
      alt="🕶"
    /></p>
<p>mfg</p>
]]></description><link>https://www.c-plusplus.net/forum/post/95915</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/95915</guid><dc:creator><![CDATA[mrchat]]></dc:creator><pubDate>Sat, 17 May 2003 10:00:00 GMT</pubDate></item><item><title><![CDATA[Reply to Drucken? on Sun, 18 May 2003 13:26:00 GMT]]></title><description><![CDATA[<blockquote>
<p>Original erstellt von ReneS:<br />
**Das geht auch:</p>
<pre><code class="language-cpp">ShellExecute(NULL, TEXT(&quot;print&quot;), TEXT(&quot;C:\\File.txt&quot;), NULL, NULL, SW_SHOW);
oder:
ShellExecute(NULL, TEXT(&quot;print&quot;), TEXT(&quot;Hallo Welt&quot;), NULL, NULL, SW_SHOW);
</code></pre>
<p>MFG</p>
<p>ReneS**</p>
</blockquote>
<p>Also bei mir tut sich da nichts.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/95916</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/95916</guid><dc:creator><![CDATA[unregistered]]></dc:creator><pubDate>Sun, 18 May 2003 13:26:00 GMT</pubDate></item><item><title><![CDATA[Reply to Drucken? on Sun, 27 Jun 2004 12:34:24 GMT]]></title><description><![CDATA[<p>@ unregistered</p>
<p>Hast du dein Problem inzwischen gelöst?? Ich habe genau das gleiche Problem!<br />
Befehle wie &quot;endl&quot;, &quot;\n&quot; oder auch &quot;setw(5)&quot; sollte der Drucker schon übernehmen können normalerweise! Aber ich mir nicht erklären, warum das nicht geht!</p>
<p>Peter</p>
]]></description><link>https://www.c-plusplus.net/forum/post/548864</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/548864</guid><dc:creator><![CDATA[Peter3]]></dc:creator><pubDate>Sun, 27 Jun 2004 12:34:24 GMT</pubDate></item></channel></rss>