Quantcast
Channel: Intel® Fortran Compiler
Viewing all articles
Browse latest Browse all 3270

Printing bitmaps revisited

$
0
0

I've followed all my resources including using stretchblt and I can't get a bitmap to print. I've included three files. The first is entitled test2.pdf and is an example of my screen. The second is called error.pdf is is the exception thrown by printing. The third file is the source code I used to try to print the graphic part sans the dialog of the screen. I followed the C++ example at http://www.dreamincode.net/forums/topic/261009-bitmap-printing-tutorial-... but have not been successful. I think there is a difference between a bitmap in a file and a screen capture bitmap but I haven't found out the differences. Please look at my code and see what you think I'm doing wrong. Everythin is done in X64 Fortran with the latest iFort 2016 and MSVS 2013.

Thanks in advance,

Brooks

PS,

If you think you need the whole code I can zip it but it is pretty large.

AttachmentSize
Downloadapplication/pdftest2.pdf58.49 KB
Downloadapplication/pdferror.pdf7.48 KB
Downloadapplication/octet-streamPrint.f903.89 KB

Viewing all articles
Browse latest Browse all 3270

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>