<?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>Moin Leute,</p>
<p>Ich schreibe gerade eine SDI anwendung mit C auf MFC ebene <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":-D"
      alt="😃"
    /></p>
<p>Könnt ihr mir erklären wie es möglich ist den Inhalt des Clientfensters zu drucken? Inklusiv Texten und Bildern?</p>
<p>Wäre klasse wenn da jemand Code posten kann.</p>
<p>MfG Granny</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/162866/drucken</link><generator>RSS for Node</generator><lastBuildDate>Thu, 30 Jul 2026 07:16:25 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/162866.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 23 Oct 2006 21:45:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Drucken on Mon, 23 Oct 2006 21:45:26 GMT]]></title><description><![CDATA[<p>Moin Leute,</p>
<p>Ich schreibe gerade eine SDI anwendung mit C auf MFC ebene <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":-D"
      alt="😃"
    /></p>
<p>Könnt ihr mir erklären wie es möglich ist den Inhalt des Clientfensters zu drucken? Inklusiv Texten und Bildern?</p>
<p>Wäre klasse wenn da jemand Code posten kann.</p>
<p>MfG Granny</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1159972</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1159972</guid><dc:creator><![CDATA[Grandmother]]></dc:creator><pubDate>Mon, 23 Oct 2006 21:45:26 GMT</pubDate></item><item><title><![CDATA[Reply to Drucken on Mon, 23 Oct 2006 22:03:26 GMT]]></title><description><![CDATA[<p>Das gehört ins MFC Forum.<br />
Und guckst du z.B. hier (gefunden in &lt; 5 Minuten mit MSDN und Google):<br />
<a href="http://www.dotnetheaven.com/Uploadfile/mahesh/MFCPrinting05242005051835AM/MFCPrinting.aspx?ArticleID=c8b13500-6d10-4f4f-8392-bb21e1a32ff4" rel="nofollow">http://www.dotnetheaven.com/Uploadfile/mahesh/MFCPrinting05242005051835AM/MFCPrinting.aspx?ArticleID=c8b13500-6d10-4f4f-8392-bb21e1a32ff4</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1159976</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1159976</guid><dc:creator><![CDATA[Plotzenhotz]]></dc:creator><pubDate>Mon, 23 Oct 2006 22:03:26 GMT</pubDate></item><item><title><![CDATA[Reply to Drucken on Mon, 23 Oct 2006 22:07:27 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile.php?mode=viewprofile&amp;u=403" rel="nofollow">HumeSikkins</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=15" rel="nofollow">C++</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=1" rel="nofollow">MFC (Visual C++)</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic.php?t=39405" rel="nofollow">C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?</a></p>
<p><em>Dieses Posting wurde automatisch erzeugt.</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1159977</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1159977</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Mon, 23 Oct 2006 22:07:27 GMT</pubDate></item><item><title><![CDATA[Reply to Drucken on Tue, 24 Oct 2006 06:32:13 GMT]]></title><description><![CDATA[<p>Man muss gar nichts machen. Wenn Du einen View hast, der OnDraw koorektimplementiert kannst Du OnFilePrint direkt als Command Handler einfügen.<br />
Schau Dir mal an weclher Code erzeugt wird wenn Du mit dem Wizard eine SDI Applikation mit Druck Unterstützung baust. Das eigentliche Geheimnis steckt in OnPrepareDC in dem Du den DC korrekt präparierst.</p>
<p>Weitere Infos gibt es auch im MFC Scribble Tutorial.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1160016</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1160016</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Tue, 24 Oct 2006 06:32:13 GMT</pubDate></item><item><title><![CDATA[Reply to Drucken on Tue, 24 Oct 2006 08:50:35 GMT]]></title><description><![CDATA[<p>Wenn du es unbedingt selber machen willst, dann kannst du nach dem öffnen des Printdialogs dir den Devicekontext geben lassen:</p>
<pre><code class="language-cpp">CPrintDialog dlg;
dlg.DoModal();
HDC hdc = pdlg-&gt;GetPrinterDC();
CDC* pDC = CDC::FromHandle(hdc);
</code></pre>
<p>Mit dem Devicekontext kannst du dann StartDoc, StartPage, ... Ausdruck starten und auf dem Drucker malen und Text ausgeben. Dazu hat die MSDN auch ein paar Beispiele.</p>
<p>Gruß</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1160102</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1160102</guid><dc:creator><![CDATA[electron]]></dc:creator><pubDate>Tue, 24 Oct 2006 08:50:35 GMT</pubDate></item><item><title><![CDATA[Reply to Drucken on Tue, 24 Oct 2006 18:03:13 GMT]]></title><description><![CDATA[<p>Okay - ich gebe zu ich bin ein absoluter noob auf dem Gebiet der Drucker.</p>
<p>Ist es vieleicht möglich das jemand vollständigen Beispiel Code posten kann z.B. wie ich</p>
<p>Hallo Welt</p>
<p>auf meinem Drucker ausgeben kann?</p>
<p>Das wäre richtig klasse und würde mich richtig weiter bringen weil ich muss sagen bisher verstehe ich nur Bahnhof.</p>
<p>Vielen Dank schon mal,</p>
<p>MfG Granny</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1160606</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1160606</guid><dc:creator><![CDATA[Grandmother]]></dc:creator><pubDate>Tue, 24 Oct 2006 18:03:13 GMT</pubDate></item><item><title><![CDATA[Reply to Drucken on Wed, 25 Oct 2006 07:02:26 GMT]]></title><description><![CDATA[<p>Schmeiß Deinen Wizard an. Lass Dir ein SDI Projekt erzeugen mit Duck-Unterstützung.</p>
<p>Das Prinzip, bei der MFC Doc/View Architektur ist, dass zwischen Bildschirmausgabe und Drucken kein Unterscheid gemacht wird.</p>
<p>Ansonsten kann ich nurnoch einmal auf das Scribble Tutorial verweisen:<br />
<a href="http://msdn.microsoft.com/library/en-us/vctutor98/html/_gs_scribble_tutorial_steps.asp?frame=true" rel="nofollow">http://msdn.microsoft.com/library/en-us/vctutor98/html/_gs_scribble_tutorial_steps.asp?frame=true</a></p>
<p>(Schritt 5)<br />
<a href="http://msdn.microsoft.com/library/en-us/vctutor98/html/_gs_enhancing_printing.asp" rel="nofollow">http://msdn.microsoft.com/library/en-us/vctutor98/html/_gs_enhancing_printing.asp</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1160737</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1160737</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Wed, 25 Oct 2006 07:02:26 GMT</pubDate></item><item><title><![CDATA[Reply to Drucken on Wed, 25 Oct 2006 18:02:35 GMT]]></title><description><![CDATA[<p>Vielen Dank für eure bisherige mühe.</p>
<p>Ich habe bevor ich hier gepostet habe alles versucht - auch das mit dem Wizard.<br />
Glaub mir, - wenn ich was verstehen würde würde ich hier nicht schreiben!</p>
<p>Ich muss bis Morgendas Projekt abgeschlossen haben - und es wäre klasse wenn ihr mir helft!</p>
<p>Ich habe keine ahnung mehr - die MSDN hilft mir nicht, trotzdem danke für den Link!</p>
<p>Wenn jemand Ahnung hat bitte schreibt mir Code - ich kann mit erklärungen nichts anfangen.</p>
<p>Wenn ihr selbst keine ahung habt dann könnt ihr euch eure mühe sparen mir ohne code etwas erklräen zu wollen. Toll sind natürlich erklärunge und Code - aber das muss überhaupt nicht sein!</p>
<p>Hilfe!</p>
<p>MfG Granny</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1161232</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1161232</guid><dc:creator><![CDATA[Grandmother]]></dc:creator><pubDate>Wed, 25 Oct 2006 18:02:35 GMT</pubDate></item></channel></rss>