The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: elmo on December 23, 2010, 12:44:13 PM

Title: how to print a .bitmap file?
Post by: elmo on December 23, 2010, 12:44:13 PM
how?
Title: Re: how to print a .bitmap file?
Post by: Coma on December 23, 2010, 04:25:17 PM
It is along time ago i print a bitmap using win32 asm.
So i only have an exmple printing a bitmap from resource and using the push and call syntax.

If you are interested i post a code fragment as a private message but NO support, ok ?

Another outdated example is available inside win32.hlp.
Search for: 'Printing a Document'


Coma
Title: Re: how to print a .bitmap file?
Post by: elmo on December 24, 2010, 03:56:25 AM
hi Comma
what you mean with private message?

Quote from: Coma on December 23, 2010, 04:25:17 PM
If you are interested i post a code fragment as a private message but NO support, ok ?
Coma


I found the example in here:
\masm32\examples\exampl02\showdib
but it can't print a bitmap file. So, I only know how to get width x height of a bitmap file.
Title: Re: how to print a .bitmap file?
Post by: dedndave on December 24, 2010, 05:46:30 AM
maybe you can find some C code on the codeguru site and translate it to asm
i have seen this method work for other things in here   :U
Title: Re: how to print a .bitmap file?
Post by: xandaz on December 24, 2010, 10:35:50 AM
   Wow coma. Thanks a lot for sharing....
Title: Re: how to print a .bitmap file?
Post by: ToutEnMasm on December 24, 2010, 01:58:32 PM

Search msdn for "print dialog box"
http://msdn.microsoft.com/en-us/library/ms646964(v=vs.85).aspx