<?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[Bitmap auf drucker zeichnen]]></title><description><![CDATA[<p>Hi,<br />
ich zeichne mit</p>
<pre><code class="language-cpp">pDC-&gt;StretchBlt(0,0,width,height,&amp;dcMem,sLeft,sUp,bitmap.bmWidth, bitmap.bmHeight, SRCCOPY);
</code></pre>
<p>ein Bitmap auf den Bildschirm, das klappt auch ganz toll!<br />
Wenn ich das Bild jetzt auf den Drucker zeichnen lasse, dann kommt da aber kein Bild raus!<br />
Frage: Was kann ich tun, dass ein Bild rauskommt?<br />
Das Zeichnen erfolgt immer in OnDraw(CDC* pDC) nur einmal benutze ich eben so einen CDC für den Bildschirm und einmal einen für den Drucker!<br />
Ich lasse auf einer 2. Seite noch Text ausgeben, und einige Linien, dass funzt ebenfalls!<br />
Gruss, Tobias</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/5880/bitmap-auf-drucker-zeichnen</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Apr 2026 05:09:48 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/5880.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 20 May 2003 14:57:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Bitmap auf drucker zeichnen on Tue, 20 May 2003 14:57:00 GMT]]></title><description><![CDATA[<p>Hi,<br />
ich zeichne mit</p>
<pre><code class="language-cpp">pDC-&gt;StretchBlt(0,0,width,height,&amp;dcMem,sLeft,sUp,bitmap.bmWidth, bitmap.bmHeight, SRCCOPY);
</code></pre>
<p>ein Bitmap auf den Bildschirm, das klappt auch ganz toll!<br />
Wenn ich das Bild jetzt auf den Drucker zeichnen lasse, dann kommt da aber kein Bild raus!<br />
Frage: Was kann ich tun, dass ein Bild rauskommt?<br />
Das Zeichnen erfolgt immer in OnDraw(CDC* pDC) nur einmal benutze ich eben so einen CDC für den Bildschirm und einmal einen für den Drucker!<br />
Ich lasse auf einer 2. Seite noch Text ausgeben, und einige Linien, dass funzt ebenfalls!<br />
Gruss, Tobias</p>
]]></description><link>https://www.c-plusplus.net/forum/post/28537</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/28537</guid><dc:creator><![CDATA[tobis79211]]></dc:creator><pubDate>Tue, 20 May 2003 14:57:00 GMT</pubDate></item><item><title><![CDATA[Reply to Bitmap auf drucker zeichnen on Tue, 20 May 2003 15:08:00 GMT]]></title><description><![CDATA[<p>Schau mal, welcher MapMode beim DC eingestellt ist</p>
]]></description><link>https://www.c-plusplus.net/forum/post/28538</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/28538</guid><dc:creator><![CDATA[RenéG]]></dc:creator><pubDate>Tue, 20 May 2003 15:08:00 GMT</pubDate></item><item><title><![CDATA[Reply to Bitmap auf drucker zeichnen on Tue, 20 May 2003 15:20:00 GMT]]></title><description><![CDATA[<p>ähm, MM_ANISOTROPIC<br />
warum fragst du? Was hab ich da vercheckt?<br />
Der Rest wird ja auch richtig angezeigt...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/28539</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/28539</guid><dc:creator><![CDATA[tobis79211]]></dc:creator><pubDate>Tue, 20 May 2003 15:20:00 GMT</pubDate></item><item><title><![CDATA[Reply to Bitmap auf drucker zeichnen on Tue, 20 May 2003 17:01:00 GMT]]></title><description><![CDATA[<p>Anleitung zum Drucken mit MFC, siehe: Anhang C von VC++ 6 in 21 Tagen (steht on-line im Net). <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="🙂"
    /><br />
<a href="http://www.mut.de/media/buecher/VCPLUS6/data/start.htm" rel="nofollow">http://www.mut.de/media/buecher/VCPLUS6/data/start.htm</a></p>
<p>[ Dieser Beitrag wurde am 20.05.2003 um 19:03 Uhr von <strong>Erhard Henkes</strong> editiert. ]</p>
]]></description><link>https://www.c-plusplus.net/forum/post/28540</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/28540</guid><dc:creator><![CDATA[Erhard Henkes]]></dc:creator><pubDate>Tue, 20 May 2003 17:01:00 GMT</pubDate></item><item><title><![CDATA[Reply to Bitmap auf drucker zeichnen on Tue, 20 May 2003 20:20:00 GMT]]></title><description><![CDATA[<p>Hi Erhard,<br />
ja, die Sache ist die:<br />
Ich kann normale Sachen, wie beschrieben, problemlos Drucken, also Linien, Punkte, Texte,..., nur das Bild klappt nicht!<br />
Deswegen such ich Rat dazu!<br />
Gruss, Tobias</p>
]]></description><link>https://www.c-plusplus.net/forum/post/28541</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/28541</guid><dc:creator><![CDATA[tobis79211]]></dc:creator><pubDate>Tue, 20 May 2003 20:20:00 GMT</pubDate></item><item><title><![CDATA[Reply to Bitmap auf drucker zeichnen on Wed, 21 May 2003 06:12:00 GMT]]></title><description><![CDATA[<p>Frag mal mit GetDeviceCaps ab, ob Dein Drucker bei RASTERCAPS auch RC_STRETCHBLT unterstützt!</p>
<p>P.S.<br />
Bis vor kurzem hatte ein Kumpel von mir auch diese Probleme. Teils, vor allem bei HP-Druckern, wurde von GetDeviceCaps zurückgegeben, dass er RC_BITBLT unterstützt, trotzdem funktionierte es nicht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/28542</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/28542</guid><dc:creator><![CDATA[RenéG]]></dc:creator><pubDate>Wed, 21 May 2003 06:12:00 GMT</pubDate></item><item><title><![CDATA[Reply to Bitmap auf drucker zeichnen on Wed, 21 May 2003 09:08:00 GMT]]></title><description><![CDATA[<p>Hi Rene,<br />
ich werde das heute abend mal testen, wie das so aussieht!<br />
Es hat bei mir weder auf einem HP, noch auf einem Lexmark geklappt! (meine Drucker...)<br />
Was kann ich denn sonst möglichst tolles tun? Bzw. was hat Dein Kumpel getan?<br />
Wäre es eine Möglichkeit, wenn ich irgendwie den Bildschirmausschnitt kopiere und dann zum Drucker sende? Geht das? Also sowas wie &quot;CopyCView....&quot; ?<br />
Gruss, Tobias</p>
]]></description><link>https://www.c-plusplus.net/forum/post/28543</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/28543</guid><dc:creator><![CDATA[tobis79211]]></dc:creator><pubDate>Wed, 21 May 2003 09:08:00 GMT</pubDate></item><item><title><![CDATA[Reply to Bitmap auf drucker zeichnen on Wed, 21 May 2003 17:35:00 GMT]]></title><description><![CDATA[<p>Hi, wie mach ich das denn so genau? Also das abfragen?<br />
Ich hab mal folgendes versucht:</p>
<pre><code class="language-cpp">sprintf(a,&quot;%i %i&quot;,dcPrint.GetDeviceCaps(RASTERCAPS),RC_STRETCHBLT);
MessageBox(a,a,MB_OK);
</code></pre>
<p>Damit bekomme ich als Ergebnis <strong>28313 2048</strong>!<br />
Das bedeutet? Vielleicht dass RASTERCAPS nicht unterstützt wird?<br />
Oder ist die erste Zahl irgendeine Summe aus verschiedenen Werten?<br />
Wie bekomme ich denn dann raus, ob STRETCHBLT unterstützt wird?<br />
Gruss, Tobiaas</p>
]]></description><link>https://www.c-plusplus.net/forum/post/28544</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/28544</guid><dc:creator><![CDATA[tobis79211]]></dc:creator><pubDate>Wed, 21 May 2003 17:35:00 GMT</pubDate></item><item><title><![CDATA[Reply to Bitmap auf drucker zeichnen on Thu, 22 May 2003 06:23:00 GMT]]></title><description><![CDATA[<p>ist ne Oder-Verknüpfung</p>
]]></description><link>https://www.c-plusplus.net/forum/post/28545</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/28545</guid><dc:creator><![CDATA[RenéG]]></dc:creator><pubDate>Thu, 22 May 2003 06:23:00 GMT</pubDate></item><item><title><![CDATA[Reply to Bitmap auf drucker zeichnen on Thu, 22 May 2003 20:11:00 GMT]]></title><description><![CDATA[<p>achso, ok<br />
also ich hab mal die Definition angesehen:<br />
Scheint so etwas wie 0x800 zu sein...<br />
Also müsste ich es mit sowas wie &quot;|&quot; oder &quot;ior(...,..)&quot; (gibts bei Fortran) wohl rausbekommen.<br />
Ich mach das morgen abend mal (heute ist leider schlecht!)<br />
...ich sag dann mal bescheid, was rauskommt!<br />
Gruss, Tobias</p>
]]></description><link>https://www.c-plusplus.net/forum/post/28546</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/28546</guid><dc:creator><![CDATA[tobis79211]]></dc:creator><pubDate>Thu, 22 May 2003 20:11:00 GMT</pubDate></item><item><title><![CDATA[Reply to Bitmap auf drucker zeichnen on Fri, 23 May 2003 18:15:00 GMT]]></title><description><![CDATA[<p>ok, gibt es eigentlich auch noch ne andere Möglichkeit!?<br />
Was hat denn jetzt Dein Kumpel gemacht?<br />
Gruss, Tobias</p>
]]></description><link>https://www.c-plusplus.net/forum/post/28547</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/28547</guid><dc:creator><![CDATA[tobis79211]]></dc:creator><pubDate>Fri, 23 May 2003 18:15:00 GMT</pubDate></item><item><title><![CDATA[Reply to Bitmap auf drucker zeichnen on Fri, 23 May 2003 19:04:00 GMT]]></title><description><![CDATA[<p>oder was noch besser wäre:<br />
Kennst Du nicht zufällig einen Artikel, ein Beispiel, ein Buch, zum Thema Drucken, bei dem als Beispiel auch ein Bild ausgedruckt wird?<br />
(z.B. wird in Inside VC++ oder VC++ in 21 Tagen KEIN Bild als Beispiel ausgedruckt!)<br />
Damit wäre mir vermutlich sehr geholfen!!<br />
Gruss, Tobias</p>
]]></description><link>https://www.c-plusplus.net/forum/post/28548</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/28548</guid><dc:creator><![CDATA[tobis79211]]></dc:creator><pubDate>Fri, 23 May 2003 19:04:00 GMT</pubDate></item></channel></rss>