1. RE: [Win32Lib] Printing a Bitmap
- Posted by C. K. Lester <euphoric at cklester.com> Feb 10, 2004
- 446 views
euphoric wrote: > > > Is there anything wrong with the following code? The output is all > wrong; the bitmap prints out extremely tiny and it prints out a > screenshot, not the bitmap I want (I'm guessing it's taking video memory > > from whatever screen origin I give it). Derek, should I be printing a > pixmap instead of a bitmap or window control? Where am I going wrong? I'm dealing with this on the euWin32Lib list... so... nevermind... unless you have hints, tips, and tricks to printing bitmap images to a printer. :) My only problem now is that it print very tiny. How do I expand the image to fill the page? I have an HP laserjet 2200 series printer.
2. RE: [Win32Lib] Printing a Bitmap
- Posted by C. K. Lester <euphoric at cklester.com> Feb 11, 2004
- 450 views
Wolf wrote: > > Here's a very old example, which can hopefully be simplified for > later win32lib's, that worked for win32lib ver. 0.55.1 Thanks for that code, Wolf... I'm getting this error when I try to print a bitmap that I've opened (printing the smiley face works fine): C:\Documents and Settings\Administrator\Desktop\wolf_printing\bits8.exw:394 in procedure print_pic() type_check failure, map is 3 It happens after I click "OK" on the print dialog to start printing.