Re: Printing a Bitmap (Win32lib)

new topic     » goto parent     » topic index » view thread      » older message » newer message

You must check to see if the printer is
Raster Capable by useing:

GetDeviceCaps(hdc, RASTERCAPS)

value returned should be:
RC_BITBLT or RC_STRETCHBLT etc...etc.
if the printer is capable

Wolfs print_pic( ) should be the perfect solution.
if the printer is capable..

Not trying to step on your toes Wolf just thought
I'd mention this cause I ran into a few printers
that would not print a Bitmap and this is how I
check to see if I can first...

Euman
euman at bellsouth.net


----- Original Message ----- 
From: "Wolf" <wolfritz at KING.IGS.NET>
To: "EUforum" <EUforum at topica.com>
Sent: Wednesday, June 06, 2001 15:36
Subject: Re: Printing a Bitmap (Win32lib)


> 
> 
> I wrote an overly complicated bitmap printing demo quite some time ago,
> for win32lib ver. 55.1. I never could figure out the proper use of
> CreateCompatibleDC, CreateCompatibleBitMap, and SelectObject, so it's a
> bit of a mess. Perhaps someone like Tone Skoda, or Euman could simplify
> it, perhaps? All the bit-twiddling routines I stole from win32lib might
> not even be necessary.
> ... anyways, here it is:
> www.king.igs.net/~wolfritz/bits8-551.zip
> 
> Wolf
> 
> -- Arachne V1.66, NON-COMMERCIAL copy, http://arachne.cz/
> 
> 
> 
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu