Kein Druckausgabe bei pDC->BitBlt(BITMAP)

Hallo Leute,

folgender Code plotted ein Bitmap (m_bitmap) zwar auf den Bildschirm, aber nicht beim Drucken. Kann mir jemand helfen

// pDC ist der aktuelle Device-Context

BITMAP bmpInfo;
m\_bitmap.GetBitmap(&bmpInfo);
// Create an in-memory DC compatible with the
// display DC we're using to paint
CDC dcMemory;
dcMemory.CreateCompatibleDC(pDC);

// Select the bitmap into the in-memory DC
CBitmap\* pOldBitmap = dcMemory.SelectObject(&m\_bitmap);
// Copy the bits from the in-memory DC into the on-
// screen DC to actually do the painting. Use the centerpoint
// we computed for the target offset.

int offX, offY;
offX = (m\_logoRect.Width() - bmpInfo.bmWidth) / 2;
offY = (m\_logoRect.Height() - bmpInfo.bmHeight) / 2;

pDC-\>BitBlt(m\_logoRect.left + offX, m\_logoRect.top + offY,
 bmpInfo.bmWidth, bmpInfo.bmHeight, 
 &dcMemory, 0, 0,SRCCOPY);

dcMemory.SelectObject(pOldBitmap);

Gruss Rolf