Re: Printing a bitmap

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

> About a week ago someone asked how to print a bitmap. Maybe I missed
> something but I haven't seen an answer yet...

I've got a somewhat 'broken' and overly complicated demo at:
http://www.king.igs.net/~wolfritz/bits8.zip

( note: only prints 256 color bitmaps or less, in one of 3 sizes.
  .. on some color printers it will report a win32lib error, but if you
select to continue, it will usually print the image anyways !  )

< blah..blah>
Seems to me that changing a few of the internal routines in win32lib into
global functions that returned the DC, ( device context ), for anything
relating to dib's, bitmaps, fonts, printers, etc...  *might* make this sort
of thing a lot easier.
For example, getPrinterChoice() currently returns:
        -- information the user selected
        return { fromPage, toPage, copies }

... why not return PRINTDLG_hdc as well ?  ... might come in handy ?

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

Search



Quick Links

User menu

Not signed in.

Misc Menu