Hi all: Thanks for the suggestions in my original post... I think I should have worded my question differently though. Thre original question: "I am working on an MFC application (Visual Studio/C++) that has to grab a screen shot from a frame grabber and send it to the default printer with landscape orientation. This has to be done with no operator intervention other than clicking on a "Print" button in the main dialog - no preview or print dialog. I'm able to grab the frame, but I'm having no success with the printing." What I really have is not a bitmap in the MFC sense, but a pointer to a big bunch of pixels. I can not seem to figure out how to get those pixels in a form that I can print - what comes out of the printer is just a black rectangle. Again, any help would be appreciated. Bob.
Bob Hickey
Posts
-
Printing Bitmaps from a Frame Grabber (Re-post of earlier question) -
Printing bitmaps from a frame grabberThanks for the suggestions.... I think I should have worded my original question a little better though. What I have is not a "bitmap" in the MFC sense, but a pointer to a big bunch of pixels. I can't seem to figure out how to get these in a form that can be printed - what comes out on the printer is just a black rectangle. Thanks in advance... Bob.
-
Printing bitmaps from a frame grabberI am working on an MFC application (Visual Studio/C++) that has to grab a screen shot from a frame grabber and send it to the default printer with landscape orientation. This has to be done with no operator intervention other than clicking on a "Print" button in the main dialog - no preview or print dialog. I'm able to grab the frame, but I'm having no success with the printing. Any help would be greatly appreciated. Bob.