Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

FillSolidRect does not print on ink jet printers!

0 views
Skip to first unread message

behzad

unread,
Dec 22, 2003, 2:07:17 PM12/22/03
to
Hi,
I hit a strange point about FillSolidREct and InkJet printers. FillSolidREct
does not print on this printers (at least HP 1220C), but FillRect prints ok.
Does anybody know why there is this problem ?

thanks,
Behzad

// this is a small sample that shows it:

CBrush B1,*B0;
B1.CreateSolidBrush(0x0ff8080);
B0=pDC->SelectObject(&B1);

CPoint O1(8000,-5000);
CRect R(O1.x,O1.y,O1.x+4000,O1.y-1000);
pDC->FillSolidRect(R,0x0ff8080); // this does not appear on ink jet
printer

R1+=CSize(4000,-4000);
pDC->FillRect(R,&B1); // this appears

pDC->SelectObject(B0);
B1.DeleteObject();

David Lowndes

unread,
Dec 22, 2003, 6:51:05 AM12/22/03
to
>I hit a strange point about FillSolidREct and InkJet printers. FillSolidREct
>does not print on this printers (at least HP 1220C), but FillRect prints ok.

You need to test on other printers - a quick rule of thumb for these
sorts of problems - always suspect the driver! ;)

If the problem only manifests itself on your printer (and ones that
use the same basic driver) check your printer manufacturer's web site
to see if you've got the latest driver.

Dave
--
MVP VC++ FAQ: http://www.mvps.org/vcfaq

0 new messages